Related to #1005.
This commit is contained in:
Camilla Löwy
2017-06-15 17:13:23 +02:00
parent 206f9ca4bc
commit d2952e4e92
4 changed files with 81 additions and 69 deletions
+9 -9
View File
@@ -35,21 +35,21 @@
//
typedef struct _GLFWjoystickLinux
{
int fd;
char path[PATH_MAX];
int keyMap[KEY_CNT];
int absMap[ABS_CNT];
struct input_absinfo absInfo[ABS_CNT];
int hats[4][2];
int fd;
char path[PATH_MAX];
int keyMap[KEY_CNT - BTN_MISC];
int absMap[ABS_CNT];
struct input_absinfo absInfo[ABS_CNT];
int hats[4][2];
} _GLFWjoystickLinux;
// Linux-specific joystick API data
//
typedef struct _GLFWlibraryLinux
{
int inotify;
int watch;
regex_t regex;
int inotify;
int watch;
regex_t regex;
} _GLFWlibraryLinux;