Fixed bug where a Logitech wireless keyboard with built-in mouse touchpad didn't get recongized as both devices.
This commit is contained in:
parent
529664278f
commit
90a219a375
5 changed files with 134 additions and 188 deletions
|
@ -29,17 +29,10 @@
|
|||
#include "SDL_events.h"
|
||||
#include <sys/stat.h>
|
||||
|
||||
typedef enum
|
||||
{
|
||||
SDL_EVDEV_DEVICE_MOUSE = 0x0001,
|
||||
SDL_EVDEV_DEVICE_KEYBOARD
|
||||
} SDL_EVDEV_deviceclass;
|
||||
|
||||
typedef struct SDL_evdevlist_item
|
||||
{
|
||||
char *path;
|
||||
int fd;
|
||||
SDL_EVDEV_deviceclass devclass;
|
||||
struct SDL_evdevlist_item *next;
|
||||
} SDL_evdevlist_item;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue