summaryrefslogtreecommitdiff
path: root/include/keyboard.h
diff options
context:
space:
mode:
authorIan C <ianc@noddybox.co.uk>2023-04-23 09:42:21 +0800
committerIan C <ianc@noddybox.co.uk>2023-04-23 09:42:21 +0800
commitbb7b6e8532ef3282fdd15ec133deff919cd7e7c3 (patch)
treee576c7b35fabe8d903af8ee963ffa42dd2330619 /include/keyboard.h
parent1d1e0acb5b4494f7c1b041e24e5de4f0614a150b (diff)
Initial work to add debug menu from 3dsspec
Diffstat (limited to 'include/keyboard.h')
-rw-r--r--include/keyboard.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/include/keyboard.h b/include/keyboard.h
index f0671f0..e0d247c 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);