From bb7b6e8532ef3282fdd15ec133deff919cd7e7c3 Mon Sep 17 00:00:00 2001 From: Ian C Date: Sun, 23 Apr 2023 09:42:21 +0800 Subject: Initial work to add debug menu from 3dsspec --- include/keyboard.h | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'include/keyboard.h') 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); -- cgit v1.2.3