aboutsummaryrefslogtreecommitdiffstats
path: root/c_src/sdl_keycode.c
diff options
context:
space:
mode:
authorLoïc Hoguin <[email protected]>2018-01-03 16:53:27 +0100
committerLoïc Hoguin <[email protected]>2018-01-03 16:53:48 +0100
commitb8c213eaf6183208f87bad4cd583958ae9967cc9 (patch)
tree01982b5f6c1eb27397e7898b7f6bf1add3cc852c /c_src/sdl_keycode.c
parent68220e90d79bddfce27afe1a6c3ba990986b239e (diff)
downloadesdl2-b8c213eaf6183208f87bad4cd583958ae9967cc9.tar.gz
esdl2-b8c213eaf6183208f87bad4cd583958ae9967cc9.tar.bz2
esdl2-b8c213eaf6183208f87bad4cd583958ae9967cc9.zip
Add many sdl_keyboard functions
Diffstat (limited to 'c_src/sdl_keycode.c')
-rw-r--r--c_src/sdl_keycode.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/c_src/sdl_keycode.c b/c_src/sdl_keycode.c
index f558f83..fda2016 100644
--- a/c_src/sdl_keycode.c
+++ b/c_src/sdl_keycode.c
@@ -27,4 +27,5 @@
F(caps, KMOD_CAPS) \
F(mode, KMOD_MODE)
+NIF_LIST_TO_FLAGS_FUNCTION(keymod_list_to_flags, Uint16, KEYMOD_FLAGS)
NIF_FLAGS_TO_LIST_FUNCTION(keymod_flags_to_list, Uint16, KEYMOD_FLAGS)