summaryrefslogtreecommitdiff
path: root/include/keyboard.h
diff options
context:
space:
mode:
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);