summaryrefslogtreecommitdiffstats
path: root/input/keycodes.h
diff options
context:
space:
mode:
Diffstat (limited to 'input/keycodes.h')
-rw-r--r--input/keycodes.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/input/keycodes.h b/input/keycodes.h
index 4d13c653a3..53fb682e46 100644
--- a/input/keycodes.h
+++ b/input/keycodes.h
@@ -256,6 +256,9 @@
MP_KEY_MODIFIER_ALT | MP_KEY_MODIFIER_META | \
MP_KEY_STATE_DOWN | MP_KEY_STATE_UP)
+// Makes adjustments like turning "shift+z" into "Z"
+int mp_normalize_keycode(int keycode);
+
// Get input key from its name.
int mp_input_get_key_from_name(const char *name);