remove all gameports mappings mapped to port 'index'
| 7419 | |
| 7420 | // remove all gameports mappings mapped to port 'index' |
| 7421 | static void remove_custom_config (struct uae_prefs *prefs, int index) |
| 7422 | { |
| 7423 | for (int l = 0; l < MAX_INPUT_DEVICES; l++) { |
| 7424 | cleardev_custom(joysticks, l, index); |
| 7425 | cleardev_custom(mice, l, index); |
| 7426 | cleardevkbr_custom (keyboards, l, index); |
| 7427 | } |
| 7428 | } |
| 7429 | |
| 7430 | // prepare port for custom mapping, remove all current Amiga side device mappings |
| 7431 | void inputdevice_compa_prepare_custom (struct uae_prefs *prefs, int index, int newmode, bool removeold) |
no test coverage detected