src/video/x11/SDL_x11touch.h
author Sam Lantinga
Sat, 01 Jan 2011 20:04:50 -0800
changeset 4945 04c8581b729e
parent 4933 81a34196b980
child 5262 b530ef003506
permissions -rw-r--r--
Final touches on renaming SDL_eventtouch to SDL_x11touch
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
slouken@4945
    24
#ifndef _SDL_x11touch_h
slouken@4945
    25
#define _SDL_x11touch_h
jim@4642
    26
jim@4642
    27
jim@4642
    28
//What should this be?
slouken@4933
    29
#ifdef SDL_INPUT_LINUXEV
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
slouken@4945
    41
#endif /* _SDL_x11touch_h */
jim@4642
    42
jim@4642
    43
/* vi: set ts=4 sw=4 expandtab: */