forked from mirrors/0ad
f10526284f
Users may generate key presses that don't map to a distinct SDL scancode and will be mapped SDL_SCANCODE_UNKNOWN instead. Using the same ID for unmapped hotkeys means any such key press will execute unset hotkeys. As luck would have it in #7644 this leads to calling "Custom exit to desktop" if the hotkey is unbound as is the default. So simply use a code for unused hotkeys that doesn't map to any SDL scancodes. Fixes: #7644 Signed-off-by: Ralph Sennhauser <ralph.sennhauser@gmail.com>