mirror of
https://github.com/libsdl-org/SDL.git
synced 2026-04-24 02:00:35 +02:00
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
This commit is contained in:
@@ -30,6 +30,7 @@ struct input_event;
|
||||
|
||||
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);
|
||||
extern Uint64 SDL_EVDEV_GetEventTimestamp(struct input_event *event);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user