| 7302 | } |
| 7303 | } |
| 7304 | static void clearkbrevent (struct uae_input_device *uid, int evt) |
| 7305 | { |
| 7306 | for (int i = 0; i < MAX_INPUT_DEVICE_EVENTS; i++) { |
| 7307 | for (int j = 0; j < MAX_INPUT_SUB_EVENT; j++) { |
| 7308 | if (uid->eventid[i][j] == evt) { |
| 7309 | uid->eventid[i][j] = 0; |
| 7310 | uid->flags[i][j] &= COMPA_RESERVED_FLAGS; |
| 7311 | xfree (uid->custom[i][j]); |
| 7312 | uid->custom[i][j] = NULL; |
| 7313 | if (j == 0) |
| 7314 | set_kbr_default_event (uid, keyboard_default, i); |
| 7315 | } |
| 7316 | } |
| 7317 | } |
| 7318 | } |
| 7319 | |
| 7320 | static void resetjport (struct uae_prefs *prefs, int index) |
| 7321 | { |
no test coverage detected