aboutsummaryrefslogtreecommitdiff
path: root/src/keyboard.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/keyboard.h')
-rw-r--r--src/keyboard.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/keyboard.h b/src/keyboard.h
index 755bae2..7bbb202 100644
--- a/src/keyboard.h
+++ b/src/keyboard.h
@@ -24,4 +24,7 @@ char *imv_keyboard_describe_key(struct imv_keyboard *keyboard, int scancode);
/* Write the null-terminated text generated by scancode being pressed into buf */
size_t imv_keyboard_get_text(struct imv_keyboard *keyboard, int scancode, char *buf, size_t buflen);
+/* Initialise the keymap from a string containing the description */
+void imv_keyboard_set_keymap(struct imv_keyboard *keyboard, const char *keymap);
+
#endif