summaryrefslogtreecommitdiff
path: root/apps/keymaps/keymap-h1x0_h3x0.c
diff options
context:
space:
mode:
authorTeruaki Kawashima <teru@rockbox.org>2010-01-16 13:54:10 +0000
committerTeruaki Kawashima <teru@rockbox.org>2010-01-16 13:54:10 +0000
commitb7f728d13880b3c92650c2f5d7bcd0f369e1089c (patch)
tree683fde2be3414207af36b717c2c3cc6d12a2f96a /apps/keymaps/keymap-h1x0_h3x0.c
parentcf5178a5b1549464f50f52361c1243b21a3e308f (diff)
downloadrockbox-b7f728d13880b3c92650c2f5d7bcd0f369e1089c.tar.gz
rockbox-b7f728d13880b3c92650c2f5d7bcd0f369e1089c.zip
FS#10785: Add new context CONTEXT_MORSE_INPUT for keymaps which is used during morse input mode in virtual keyboard.
This will enable to use morse input on targets that doesn't have enough key for both the keyboard and morse input in one context. Enable morse input on archosondio as an example. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@24250 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps/keymaps/keymap-h1x0_h3x0.c')
-rw-r--r--apps/keymaps/keymap-h1x0_h3x0.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/apps/keymaps/keymap-h1x0_h3x0.c b/apps/keymaps/keymap-h1x0_h3x0.c
index 62cd940460..d3b76ee3ad 100644
--- a/apps/keymaps/keymap-h1x0_h3x0.c
+++ b/apps/keymaps/keymap-h1x0_h3x0.c
@@ -918,6 +918,7 @@ static const struct button_mapping* get_context_mapping_remote(int context)
918 case CONTEXT_RECSCREEN: 918 case CONTEXT_RECSCREEN:
919 return remote_btn_ctxt_recscreen; 919 return remote_btn_ctxt_recscreen;
920 case CONTEXT_KEYBOARD: 920 case CONTEXT_KEYBOARD:
921 case CONTEXT_MORSE_INPUT:
921 return remote_btn_ctxt_keyboard; 922 return remote_btn_ctxt_keyboard;
922 case CONTEXT_FM: 923 case CONTEXT_FM:
923 return remote_btn_ctxt_radio; 924 return remote_btn_ctxt_radio;
@@ -973,6 +974,7 @@ const struct button_mapping* get_context_mapping(int context)
973 case CONTEXT_RECSCREEN: 974 case CONTEXT_RECSCREEN:
974 return button_context_recscreen; 975 return button_context_recscreen;
975 case CONTEXT_KEYBOARD: 976 case CONTEXT_KEYBOARD:
977 case CONTEXT_MORSE_INPUT:
976 return button_context_keyboard; 978 return button_context_keyboard;
977 case CONTEXT_FM: 979 case CONTEXT_FM:
978 return button_context_radio; 980 return button_context_radio;