summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
Diffstat (limited to 'include')
-rw-r--r--include/keyboard.h4
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);