diff options
author | Maurus Cuelenaere <mcuelenaere@gmail.com> | 2009-12-18 11:06:25 +0000 |
---|---|---|
committer | Maurus Cuelenaere <mcuelenaere@gmail.com> | 2009-12-18 11:06:25 +0000 |
commit | 54324781e55b8a4205eb1a082b69e30b8e5b00b6 (patch) | |
tree | 5a47eb5397d8eaf0e02c4c5ec8e135ae3363faac /apps/keymaps | |
parent | d78422511e21946e9562b6fd3092b1aa5928b5be (diff) |
Onda VX747/VX777: add ACTION_KBD_ABORT (fixes exiting boomshine)
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@24070 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps/keymaps')
-rw-r--r-- | apps/keymaps/keymap-ondavx747.c | 1 | ||||
-rw-r--r-- | apps/keymaps/keymap-ondavx777.c | 3 |
2 files changed, 3 insertions, 1 deletions
diff --git a/apps/keymaps/keymap-ondavx747.c b/apps/keymaps/keymap-ondavx747.c index 56a68e519c..508d86d6eb 100644 --- a/apps/keymaps/keymap-ondavx747.c +++ b/apps/keymaps/keymap-ondavx747.c @@ -163,6 +163,7 @@ static const struct button_mapping button_context_keyboard[] = { { ACTION_KBD_CURSOR_RIGHT, BUTTON_VOL_UP, BUTTON_NONE }, { ACTION_KBD_CURSOR_RIGHT, BUTTON_VOL_UP|BUTTON_REPEAT, BUTTON_NONE }, { ACTION_KBD_DONE, BUTTON_MENU|BUTTON_REPEAT, BUTTON_NONE }, + { ACTION_KBD_ABORT, BUTTON_POWER, BUTTON_NONE }, LAST_ITEM_IN_LIST__NEXTLIST(CONTEXT_STD) }; /* button_context_keyboard */ diff --git a/apps/keymaps/keymap-ondavx777.c b/apps/keymaps/keymap-ondavx777.c index b9cf5c2a1e..ed23350666 100644 --- a/apps/keymaps/keymap-ondavx777.c +++ b/apps/keymaps/keymap-ondavx777.c @@ -112,7 +112,8 @@ static const struct button_mapping button_context_radio[] = { LAST_ITEM_IN_LIST__NEXTLIST(CONTEXT_SETTINGS) }; /* button_context_radio */ -static const struct button_mapping button_context_keyboard[] = { +static const struct button_mapping button_context_keyboard[] = { + { ACTION_KBD_ABORT, BUTTON_POWER, BUTTON_NONE }, LAST_ITEM_IN_LIST__NEXTLIST(CONTEXT_STD) }; /* button_context_keyboard */ |