Prevent keystrokes from leaking through to the console when using evdev.

This uses the same method Weston and X use. Sadly, to be fully effective when
launching remotely, this needs root permissions.
This commit is contained in:
Gabriel Jacobo 2013-10-13 17:15:43 -03:00
parent 074a1c4c63
commit e9d2133934
3 changed files with 103 additions and 1 deletions

View file

@ -43,6 +43,8 @@ typedef struct SDL_EVDEV_PrivateData
int numdevices;
int ref_count;
int console_fd;
int kb_mode;
int tty;
} SDL_EVDEV_PrivateData;
extern int SDL_EVDEV_Init(void);