From 0ba2204beb8f97ce71133bf74fdc24b40f81407c Mon Sep 17 00:00:00 2001 From: Martin Scarratt Date: Tue, 22 Aug 2006 13:21:13 +0000 Subject: Button action code for the Virtual keyboard. Extra buttons for H1xx remote: Vol-+ Cursor Left/Right. H3xx remote:-10/+10 Cursor Left/Right. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@10694 a1c6a512-1295-4272-9138-f99709370657 --- apps/action.h | 18 +++++++++++++++++- 1 file changed, 17 insertions(+), 1 deletion(-) (limited to 'apps/action.h') diff --git a/apps/action.h b/apps/action.h index df07606..1bbe6fc 100644 --- a/apps/action.h +++ b/apps/action.h @@ -68,6 +68,7 @@ enum { CONTEXT_YESNOSCREEN, /*NOTE: make sure your target has this and ACTION_YESNO_ACCEPT */ CONTEXT_RECSCREEN, + CONTEXT_KEYBOARD, }; @@ -177,7 +178,22 @@ enum { /* yesno screen */ ACTION_YESNO_ACCEPT, - + /* keyboard screen */ + ACTION_KBD_LEFT, + ACTION_KBD_RIGHT, + ACTION_KBD_CURSOR_LEFT, + ACTION_KBD_CURSOR_RIGHT, + ACTION_KBD_SELECT, + ACTION_KBD_SELECT_REM, + ACTION_KBD_PAGE_FLIP, + ACTION_KBD_DONE, + ACTION_KBD_ABORT, + ACTION_KBD_BACKSPACE, + ACTION_KBD_UP, + ACTION_KBD_DOWN, + ACTION_KBD_MORSE_INPUT, + ACTION_KBD_MORSE_SELECT, + }; struct button_mapping { -- cgit v1.1