summaryrefslogtreecommitdiff
path: root/include/keyboard.h
diff options
context:
space:
mode:
authorIan C <ianc@noddybox.co.uk>2007-03-12 00:59:51 +0000
committerIan C <ianc@noddybox.co.uk>2007-03-12 00:59:51 +0000
commit7e2703a49de38100f9ee82042a744517fc7eb171 (patch)
treee76beb7f038e9ef51a30b5d10f5e4be7ffd73c46 /include/keyboard.h
parenteeef0966f0448d71e79ad43d53769afebd47b459 (diff)
Altered some interfaces for the monitor.
Diffstat (limited to 'include/keyboard.h')
-rw-r--r--include/keyboard.h13
1 files changed, 9 insertions, 4 deletions
diff --git a/include/keyboard.h b/include/keyboard.h
index 2afb5df..0827b76 100644
--- a/include/keyboard.h
+++ b/include/keyboard.h
@@ -100,9 +100,15 @@ typedef struct
} SoftKeyEvent;
-/* Display the soft keyboard
+/* Display the soft keyboard.
*/
-void SK_DisplayKeyboard(uint16 *vram);
+void SK_DisplayKeyboard(void);
+
+/* If dim is TRUE, then the keyboard is displayed with reduced brightness along
+ with the selection box. This routine simply adjusts the palette, and
+ assumes that the keyboard is already on display.
+*/
+void SK_SetDisplayBrightness(int dim);
/* Returns TRUE while there are still key events for this cycle
*/
@@ -113,8 +119,7 @@ int SK_GetEvent(SoftKeyEvent *ev);
*/
int SK_GetBareEvent(SoftKeyEvent *ev);
-/* Sets a key to be 'sticky' (it will be released automatically on the next
- non-sticky press).
+/* Sets a key to be 'sticky'.
*/
void SK_SetSticky(SoftKey key, int is_sticky);