mirror of
https://github.com/Relintai/sdl2_frt.git
synced 2024-12-16 11:06:49 +01:00
Fixed bug 3473 - can't build on linux with an old kernel
This commit is contained in:
parent
9a8642bd6a
commit
539afc5d0b
@ -57,6 +57,14 @@
|
|||||||
#define SYN_DROPPED 3
|
#define SYN_DROPPED 3
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
/* These are not defined in older Linux kernel headers */
|
||||||
|
#ifndef ABS_MT_SLOT
|
||||||
|
#define ABS_MT_SLOT 0x2f
|
||||||
|
#define ABS_MT_POSITION_X 0x35
|
||||||
|
#define ABS_MT_POSITION_Y 0x36
|
||||||
|
#define ABS_MT_TRACKING_ID 0x39
|
||||||
|
#endif
|
||||||
|
|
||||||
typedef struct SDL_evdevlist_item
|
typedef struct SDL_evdevlist_item
|
||||||
{
|
{
|
||||||
char *path;
|
char *path;
|
||||||
|
Loading…
Reference in New Issue
Block a user