From 61ee8852d771cbb735366757e24130803c8d9762 Mon Sep 17 00:00:00 2001 From: Ian C Date: Wed, 11 Jan 2023 16:40:47 +0000 Subject: Updated input routine to use symbol shift for special chars. --- 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 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); -- cgit v1.2.3