From 7e2703a49de38100f9ee82042a744517fc7eb171 Mon Sep 17 00:00:00 2001 From: Ian C Date: Mon, 12 Mar 2007 00:59:51 +0000 Subject: Altered some interfaces for the monitor. --- include/keyboard.h | 13 +++++++++---- 1 file changed, 9 insertions(+), 4 deletions(-) (limited to 'include/keyboard.h') 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); -- cgit v1.2.3