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 05036c4..cba806b 100644
--- a/src/keyboard.h
+++ b/src/keyboard.h
@@ -31,4 +31,7 @@ size_t imv_keyboard_get_text(struct imv_keyboard *keyboard, int scancode, char *
/* Initialise the keymap from a string containing the description */
void imv_keyboard_set_keymap(struct imv_keyboard *keyboard, const char *keymap);
+/* Should the key on a given scancode repeat when held down */
+bool imv_keyboard_should_key_repeat(struct imv_keyboard *keyboard, int scancode);
+
#endif