mirror of https://github.com/encounter/SDL.git
Handle the KMOD_SCROLL modifier on RISC OS
This commit is contained in:
parent
1268984edc
commit
53b3db0c5d
src/video/riscos
|
@ -158,6 +158,7 @@ RISCOS_InitEvents(_THIS)
|
|||
status = (_kernel_osbyte(202, 0, 255) & 0xFF);
|
||||
SDL_ToggleModState(KMOD_NUM, (status & (1 << 2)) == 0);
|
||||
SDL_ToggleModState(KMOD_CAPS, (status & (1 << 4)) == 0);
|
||||
SDL_ToggleModState(KMOD_SCROLL, (status & (1 << 1)) != 0);
|
||||
|
||||
/* Disable escape. */
|
||||
_kernel_osbyte(229, 1, 0);
|
||||
|
|
Loading…
Reference in New Issue