summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorIan C <ianc@noddybox.co.uk>2006-10-30 23:50:04 +0000
committerIan C <ianc@noddybox.co.uk>2006-10-30 23:50:04 +0000
commitf08256be0fb69083175408e9d87173a5107c9977 (patch)
treef869da9dca929124ee952f56325e4e8904d70bda /include
parenta61e0aa6a31d6028eeb4ff45bb6c71f604641fea (diff)
Completed FAT loading, custom keypad definitions and fixed keyboard hang bug
Diffstat (limited to 'include')
-rw-r--r--include/keyboard.h13
1 files changed, 9 insertions, 4 deletions
diff --git a/include/keyboard.h b/include/keyboard.h
index c3fab5b..2afb5df 100644
--- a/include/keyboard.h
+++ b/include/keyboard.h
@@ -108,18 +108,23 @@ void SK_DisplayKeyboard(uint16 *vram);
*/
int SK_GetEvent(SoftKeyEvent *ev);
+/* Returns TRUE while there are still key events for this cycle. Unlike
+ SK_GetEvent this does not do joypad mappings.
+*/
+int SK_GetBareEvent(SoftKeyEvent *ev);
+
/* Sets a key to be 'sticky' (it will be released automatically on the next
non-sticky press).
*/
void SK_SetSticky(SoftKey key, int is_sticky);
-/* Flush all the keys.
-*/
-void SK_ClearKeys(void);
-
/* Map the joypad to keys. Note that when mapped that both the key and the
joypad code will be generated.
*/
void SK_DefinePad(SoftKey pad, SoftKey key);
+/* Returns a name for key symbols.
+*/
+const char *SK_KeyName(SoftKey pad);
+
#endif /* DS81_KEYBOARD_H */