diff options
author | Teruaki Kawashima <teru@rockbox.org> | 2010-01-16 13:54:10 +0000 |
---|---|---|
committer | Teruaki Kawashima <teru@rockbox.org> | 2010-01-16 13:54:10 +0000 |
commit | b7f728d13880b3c92650c2f5d7bcd0f369e1089c (patch) | |
tree | 683fde2be3414207af36b717c2c3cc6d12a2f96a /apps/keymaps/keymap-x5.c | |
parent | cf5178a5b1549464f50f52361c1243b21a3e308f (diff) | |
download | rockbox-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-x5.c')
-rw-r--r-- | apps/keymaps/keymap-x5.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/apps/keymaps/keymap-x5.c b/apps/keymaps/keymap-x5.c index 69602d7ca7..059a3f25b5 100644 --- a/apps/keymaps/keymap-x5.c +++ b/apps/keymaps/keymap-x5.c | |||
@@ -433,6 +433,7 @@ static const struct button_mapping* get_context_mapping_remote( int context ) | |||
433 | return remote_button_context_radio; | 433 | return remote_button_context_radio; |
434 | 434 | ||
435 | case CONTEXT_KEYBOARD: | 435 | case CONTEXT_KEYBOARD: |
436 | case CONTEXT_MORSE_INPUT: | ||
436 | return remote_button_context_keyboard; | 437 | return remote_button_context_keyboard; |
437 | 438 | ||
438 | case CONTEXT_PITCHSCREEN: | 439 | case CONTEXT_PITCHSCREEN: |
@@ -489,9 +490,9 @@ const struct button_mapping* get_context_mapping( int context ) | |||
489 | return button_context_radio; | 490 | return button_context_radio; |
490 | 491 | ||
491 | case CONTEXT_KEYBOARD: | 492 | case CONTEXT_KEYBOARD: |
493 | case CONTEXT_MORSE_INPUT: | ||
492 | return button_context_keyboard; | 494 | return button_context_keyboard; |
493 | 495 | ||
494 | |||
495 | case CONTEXT_PITCHSCREEN: | 496 | case CONTEXT_PITCHSCREEN: |
496 | return button_context_pitchscreen; | 497 | return button_context_pitchscreen; |
497 | 498 | ||