diff options
Diffstat (limited to 'src/keyboard/inc/keyboard.h')
| -rw-r--r-- | src/keyboard/inc/keyboard.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/keyboard/inc/keyboard.h b/src/keyboard/inc/keyboard.h index 5c53ba8..0fb0179 100644 --- a/src/keyboard/inc/keyboard.h +++ b/src/keyboard/inc/keyboard.h @@ -29,6 +29,9 @@ void keyboard_update(struct keyboard *k); bool keyboard_justpressed(const struct keyboard *k, const struct keyboard_combo *c); bool keyboard_pressed(const struct keyboard *k, const struct keyboard_combo *c); bool keyboard_justreleased(const struct keyboard *k, const struct keyboard_combo *c); +bool keyboard_any_justpressed(const struct keyboard *k, struct keyboard_combo *c); +bool keyboard_any_pressed(const struct keyboard *k, struct keyboard_combo *c); +char keyboard_to_char(const struct keyboard *k, enum keyboard_key key); const char *keyboard_key_str(enum keyboard_key k); #ifdef __cplusplus |
