|
1 | 1 | /* Part of the Xemu project, please visit: https://github.com/lgblgblgb/xemu |
2 | | - Copyright (C)2016-2022 LGB (Gábor Lénárt) <[email protected]> |
| 2 | + Copyright (C)2016-2024 LGB (Gábor Lénárt) <[email protected]> |
3 | 3 |
|
4 | 4 | This program is free software; you can redistribute it and/or modify |
5 | 5 | it under the terms of the GNU General Public License as published by |
@@ -126,11 +126,14 @@ const struct KeyMappingDefault c64_key_map[] = { |
126 | 126 | { SDL_SCANCODE_UNKNOWN, SCRL_KEY_POS, "NOSCROLL" }, // NO SCROLL: FIXME: where should we map this key to? |
127 | 127 | { SDL_SCANCODE_TAB, TAB_KEY_POS, "TAB" }, // TAB |
128 | 128 | { SDL_SCANCODE_RALT, ALT_KEY_POS, "ALT" }, // ALT on C65: right alt (AltGr) on PC [left ALT on PC is used as the commodore key] |
129 | | - { SDL_SCANCODE_PAGEUP, C65_KEYBOARD_EXTRA_POS + 3, "HELP" }, // HELP: FIXME: where should we map this key to? |
130 | | - { SDL_SCANCODE_UNKNOWN, C65_KEYBOARD_EXTRA_POS + 4, "F9" }, // F9/F10: FIXME: where should we map this key to? |
131 | | - { SDL_SCANCODE_UNKNOWN, C65_KEYBOARD_EXTRA_POS + 5, "F11" }, // F11/F12: FIXME: where should we map this key to? |
132 | | - { SDL_SCANCODE_UNKNOWN, C65_KEYBOARD_EXTRA_POS + 6, "F13" }, // F13/F14: FIXME: where should we map this key to? |
133 | | - { SDL_SCANCODE_ESCAPE, C65_KEYBOARD_EXTRA_POS + 7, "ESC" }, // ESC |
| 129 | + { SDL_SCANCODE_PAGEUP, C65_KEYBOARD_EXTRA_POS + 3, "HELP" }, |
| 130 | + { SDL_SCANCODE_UNKNOWN, C65_KEYBOARD_EXTRA_POS + 4, "F9" }, |
| 131 | + { SDL_SCANCODE_UNKNOWN, C65_KEYBOARD_EXTRA_POS + (4 | 8), "F10*" }, |
| 132 | + { SDL_SCANCODE_UNKNOWN, C65_KEYBOARD_EXTRA_POS + 5, "F11" }, |
| 133 | + { SDL_SCANCODE_UNKNOWN, C65_KEYBOARD_EXTRA_POS + (5 | 8), "F12*" }, |
| 134 | + { SDL_SCANCODE_UNKNOWN, C65_KEYBOARD_EXTRA_POS + 6, "F13" }, |
| 135 | + { SDL_SCANCODE_UNKNOWN, C65_KEYBOARD_EXTRA_POS + (6 | 8), "F14*" }, |
| 136 | + { SDL_SCANCODE_ESCAPE, C65_KEYBOARD_EXTRA_POS + 7, "ESC" }, |
134 | 137 | #endif |
135 | 138 | // **** Emulates joystick with keypad |
136 | 139 | STD_XEMU_SPECIAL_KEYS, |
|
0 commit comments