summaryrefslogtreecommitdiff
path: root/apps/action.h
diff options
context:
space:
mode:
authorMartin Scarratt <mmmm@rockbox.org>2006-08-22 13:21:13 +0000
committerMartin Scarratt <mmmm@rockbox.org>2006-08-22 13:21:13 +0000
commit0ba2204beb8f97ce71133bf74fdc24b40f81407c (patch)
tree9ef69b04d5d130bc52122e9833c09214f90b09c9 /apps/action.h
parentaf95a013641b4c0919bc1cf9f907a3149f513da0 (diff)
downloadrockbox-0ba2204beb8f97ce71133bf74fdc24b40f81407c.zip
rockbox-0ba2204beb8f97ce71133bf74fdc24b40f81407c.tar.gz
rockbox-0ba2204beb8f97ce71133bf74fdc24b40f81407c.tar.bz2
rockbox-0ba2204beb8f97ce71133bf74fdc24b40f81407c.tar.xz
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
Diffstat (limited to 'apps/action.h')
-rw-r--r--apps/action.h18
1 files changed, 17 insertions, 1 deletions
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 {