mirror of
https://github.com/libretro/scummvm.git
synced 2024-12-14 21:59:17 +00:00
e302590cab
The previous workaround was introduced to fix fighting using the keypad in Indy 3. It enforced genering a number on KEYCODE_KP# events even when KBD_NUM is not set. The issue on AmigaOS is that SDL never reports KBD_NUM as being set. Instead we get different keycodes depending if numlock is on or off (e.g. KEYCODE_KP3 and KEYCODE_PAGEDOWN). The new workaround is to set the KBD_NUM modifier whenever we receive a KEYCODE_KP# event from SDL. This way we also generate a number, but in addition this is consistent with the modifier and works with code that checks the KDB_NUM modifier (such as the GUI code or the AGI engine). |
||
---|---|---|
.. | ||
default | ||
dinguxsdl | ||
ds | ||
gph | ||
maemosdl | ||
openpandora | ||
ps3sdl | ||
psp2sdl | ||
riscossdl | ||
samsungtvsdl | ||
sdl | ||
switchsdl |