mirror of
https://github.com/libsdl-org/SDL.git
synced 2025-05-31 17:07:39 +00:00
Added KMOD_SCROLL to track the scroll lock state
Fixes https://github.com/libsdl-org/SDL/issues/4566
This commit is contained in:
parent
609cea1eb8
commit
cb1e20b058
8 changed files with 38 additions and 2 deletions
|
@ -86,6 +86,8 @@ print_modifiers(char **text, size_t *maxlen)
|
|||
print_string(text, maxlen, " CAPS");
|
||||
if (mod & KMOD_MODE)
|
||||
print_string(text, maxlen, " MODE");
|
||||
if (mod & KMOD_SCROLL)
|
||||
print_string(text, maxlen, " SCROLL");
|
||||
}
|
||||
|
||||
static void
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue