diff options
author | Ian C <ianc@noddybox.co.uk> | 2023-01-11 16:40:47 +0000 |
---|---|---|
committer | Ian C <ianc@noddybox.co.uk> | 2023-01-11 16:40:47 +0000 |
commit | 61ee8852d771cbb735366757e24130803c8d9762 (patch) | |
tree | 61f9c9535cd49157f36fcab98e199ee055a3405e /include/keyboard.h | |
parent | c257263f3b0e22be70f537264ea33af107c8547a (diff) |
Updated input routine to use symbol shift for special chars.
Diffstat (limited to 'include/keyboard.h')
-rw-r--r-- | include/keyboard.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/include/keyboard.h b/include/keyboard.h index 94805a0..95ae0a2 100644 --- a/include/keyboard.h +++ b/include/keyboard.h @@ -127,6 +127,10 @@ void SK_DefinePad(SoftKey pad, SoftKey key); */ const char *SK_KeyName(SoftKey pad); +/* Returns TRUE if the passed key is currently pressed +*/ +int SK_KeyPressed(SoftKey key); + /* Allows the keyboard to save/restore its state from a stream */ void SK_SaveSnapshot(FILE *fp); |