Don't mute the console input if we can't read the keyboard
This makes sure you can hit Ctrl-C if you don't have permission to access the raw keyboard device.
Fixes https://github.com/libsdl-org/SDL/issues/4812
(cherry picked from commit ce9e1bd324
)
This commit is contained in:
parent
f9baa30270
commit
87bb0f5bcb
4 changed files with 69 additions and 20 deletions
|
@ -30,6 +30,7 @@
|
|||
|
||||
extern int SDL_EVDEV_Init(void);
|
||||
extern void SDL_EVDEV_Quit(void);
|
||||
extern int SDL_EVDEV_GetDeviceCount(int device_class);
|
||||
extern void SDL_EVDEV_Poll(void);
|
||||
|
||||
#endif /* SDL_INPUT_LINUXEV */
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue