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:
parent
074a1c4c63
commit
e9d2133934
3 changed files with 103 additions and 1 deletions
|
@ -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);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue