src/video/x11/SDL_eventtouch.h
author Jim Grandpre <jim.tla@gmail.com>
Mon, 31 May 2010 00:24:37 -0400
changeset 4645 0375d020e7e3
parent 4643 8806b78988f7
permissions -rw-r--r--
Auto-detects Wacom touch devices.
jim@4642
     1
/*
jim@4642
     2
    SDL - Simple DirectMedia Layer
jim@4642
     3
    Copyright (C) 1997-2010 Sam Lantinga
jim@4642
     4
jim@4642
     5
    This library is free software; you can redistribute it and/or
jim@4642
     6
    modify it under the terms of the GNU Lesser General Public
jim@4642
     7
    License as published by the Free Software Foundation; either
jim@4642
     8
    version 2.1 of the License, or (at your option) any later version.
jim@4642
     9
jim@4642
    10
    This library is distributed in the hope that it will be useful,
jim@4642
    11
    but WITHOUT ANY WARRANTY; without even the implied warranty of
jim@4642
    12
    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
jim@4642
    13
    Lesser General Public License for more details.
jim@4642
    14
jim@4642
    15
    You should have received a copy of the GNU Lesser General Public
jim@4642
    16
    License along with this library; if not, write to the Free Software
jim@4642
    17
    Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA
jim@4642
    18
jim@4642
    19
    Sam Lantinga
jim@4642
    20
    slouken@libsdl.org
jim@4642
    21
*/
jim@4642
    22
#include "SDL_config.h"
jim@4642
    23
jim@4642
    24
#ifndef _SDL_eventtouch_h
jim@4642
    25
#define _SDL_eventtouch_h
jim@4642
    26
jim@4642
    27
jim@4642
    28
//What should this be?
jim@4642
    29
#if SDL_VIDEO_DRIVER_X11_XINPUT
jim@4642
    30
typedef struct EventTouchData
jim@4642
    31
{
jim@4642
    32
    int x,y,pressure,finger; //Temporary Variables until sync
jim@4642
    33
    int eventStream;
jim@4643
    34
    SDL_bool up;
jim@4642
    35
} EventTouchData;
jim@4642
    36
#endif
jim@4642
    37
jim@4645
    38
extern void X11_InitTouch(_THIS);
jim@4645
    39
extern void X11_QuitTouch(_THIS);
jim@4642
    40
jim@4642
    41
#endif /* _SDL_eventtouch_h */
jim@4642
    42
jim@4642
    43
/* vi: set ts=4 sw=4 expandtab: */