Fix some mice and controllers being grabbed when they shouldn't

This commit is contained in:
dec05eba
2025-05-14 21:00:21 +02:00
parent c7bfaf90ec
commit af4fc84ef7
4 changed files with 76 additions and 13 deletions

View File

@@ -39,6 +39,8 @@ typedef enum {
typedef struct {
int dev_input_id;
bool grabbed;
bool is_non_keyboard_device;
bool is_possibly_non_keyboard_device;
unsigned char *key_states;
unsigned char *key_presses_grabbed;
int num_keys_pressed;