diff options
Diffstat (limited to 'apps')
| -rw-r--r-- | apps/features.txt | 4 | ||||
| -rw-r--r-- | apps/keymaps/keymap-creativezv.c | 1 | ||||
| -rw-r--r-- | apps/keymaps/keymap-creativezvm.c | 1 | ||||
| -rw-r--r-- | apps/keymaps/keymap-e200.c | 2 | ||||
| -rw-r--r-- | apps/keymaps/keymap-fuze.c | 1 | ||||
| -rw-r--r-- | apps/keymaps/keymap-m200.c | 1 | ||||
| -rw-r--r-- | apps/keymaps/keymap-mr500.c | 1 | ||||
| -rw-r--r-- | apps/keymaps/keymap-recorder.c | 1 | ||||
| -rw-r--r-- | apps/keymaps/keymap-x5.c | 3 | ||||
| -rw-r--r-- | apps/lang/english.lang | 17 | ||||
| -rw-r--r-- | apps/menus/settings_menu.c | 9 | ||||
| -rw-r--r-- | apps/recorder/keyboard.c | 138 | ||||
| -rw-r--r-- | apps/settings.h | 4 | ||||
| -rw-r--r-- | apps/settings_list.c | 4 |
14 files changed, 121 insertions, 66 deletions
diff --git a/apps/features.txt b/apps/features.txt index 888e9d2..14204df 100644 --- a/apps/features.txt +++ b/apps/features.txt @@ -102,6 +102,10 @@ masf masd #endif +#if defined(HAVE_MORSE_INPUT) +morse_input +#endif + #if defined(HAVE_PITCHSCREEN) pitchscreen #endif diff --git a/apps/keymaps/keymap-creativezv.c b/apps/keymaps/keymap-creativezv.c index c75a5b2..b88c140 100644 --- a/apps/keymaps/keymap-creativezv.c +++ b/apps/keymaps/keymap-creativezv.c @@ -213,6 +213,7 @@ static const struct button_mapping button_context_keyboard[] = { { ACTION_KBD_UP, BUTTON_UP|BUTTON_REPEAT, BUTTON_NONE }, { ACTION_KBD_DOWN, BUTTON_DOWN, BUTTON_NONE }, { ACTION_KBD_DOWN, BUTTON_DOWN|BUTTON_REPEAT, BUTTON_NONE }, + { ACTION_KBD_MORSE_SELECT, BUTTON_SELECT|BUTTON_REL, BUTTON_NONE }, LAST_ITEM_IN_LIST }; /* button_context_keyboard */ diff --git a/apps/keymaps/keymap-creativezvm.c b/apps/keymaps/keymap-creativezvm.c index 12694bc..b355018 100644 --- a/apps/keymaps/keymap-creativezvm.c +++ b/apps/keymaps/keymap-creativezvm.c @@ -212,6 +212,7 @@ static const struct button_mapping button_context_keyboard[] = { { ACTION_KBD_UP, BUTTON_UP|BUTTON_REPEAT, BUTTON_NONE }, { ACTION_KBD_DOWN, BUTTON_DOWN, BUTTON_NONE }, { ACTION_KBD_DOWN, BUTTON_DOWN|BUTTON_REPEAT, BUTTON_NONE }, + { ACTION_KBD_MORSE_SELECT, BUTTON_SELECT|BUTTON_REL, BUTTON_NONE }, LAST_ITEM_IN_LIST }; /* button_context_keyboard */ diff --git a/apps/keymaps/keymap-e200.c b/apps/keymaps/keymap-e200.c index 487fb11..2deac63 100644 --- a/apps/keymaps/keymap-e200.c +++ b/apps/keymaps/keymap-e200.c @@ -265,6 +265,8 @@ static const struct button_mapping button_context_keyboard[] = { { ACTION_KBD_SELECT, BUTTON_SELECT, BUTTON_NONE }, { ACTION_KBD_DONE, BUTTON_UP, BUTTON_NONE }, { ACTION_KBD_ABORT, BUTTON_POWER, BUTTON_NONE }, + { ACTION_KBD_MORSE_INPUT, BUTTON_REC|BUTTON_REL, BUTTON_REC }, + { ACTION_KBD_MORSE_SELECT, BUTTON_SELECT|BUTTON_REL, BUTTON_NONE }, LAST_ITEM_IN_LIST }; /* button_context_keyboard */ diff --git a/apps/keymaps/keymap-fuze.c b/apps/keymaps/keymap-fuze.c index e44ee51..3e89cc5 100644 --- a/apps/keymaps/keymap-fuze.c +++ b/apps/keymaps/keymap-fuze.c @@ -266,6 +266,7 @@ static const struct button_mapping button_context_keyboard[] = { { ACTION_KBD_SELECT, BUTTON_SELECT, BUTTON_NONE }, { ACTION_KBD_DONE, BUTTON_UP, BUTTON_NONE }, { ACTION_KBD_ABORT, BUTTON_HOME|BUTTON_REPEAT, BUTTON_NONE }, + { ACTION_KBD_MORSE_SELECT, BUTTON_SELECT|BUTTON_REL, BUTTON_NONE }, LAST_ITEM_IN_LIST }; /* button_context_keyboard */ diff --git a/apps/keymaps/keymap-m200.c b/apps/keymaps/keymap-m200.c index 78a4947..e3aa093 100644 --- a/apps/keymaps/keymap-m200.c +++ b/apps/keymaps/keymap-m200.c @@ -274,6 +274,7 @@ static const struct button_mapping button_context_keyboard[] = { { ACTION_KBD_DONE, BUTTON_VOL_UP, BUTTON_NONE }, { ACTION_KBD_DONE, BUTTON_VOL_DOWN, BUTTON_NONE }, { ACTION_KBD_ABORT, BUTTON_POWER, BUTTON_NONE }, + { ACTION_KBD_MORSE_SELECT, BUTTON_SELECT|BUTTON_REL, BUTTON_NONE }, LAST_ITEM_IN_LIST }; /* button_context_keyboard */ diff --git a/apps/keymaps/keymap-mr500.c b/apps/keymaps/keymap-mr500.c index 36ffea4..0b1dc76 100644 --- a/apps/keymaps/keymap-mr500.c +++ b/apps/keymaps/keymap-mr500.c @@ -191,6 +191,7 @@ static const struct button_mapping button_context_keyboard[] = { { ACTION_KBD_UP, BUTTON_RC_PLAY|BUTTON_REPEAT, BUTTON_NONE }, { ACTION_KBD_DOWN, BUTTON_RC_DOWN, BUTTON_NONE }, { ACTION_KBD_DOWN, BUTTON_RC_DOWN|BUTTON_REPEAT, BUTTON_NONE }, + { ACTION_KBD_MORSE_SELECT, BUTTON_RC_HEART|BUTTON_REL, BUTTON_NONE }, LAST_ITEM_IN_LIST }; /* button_context_keyboard */ diff --git a/apps/keymaps/keymap-recorder.c b/apps/keymaps/keymap-recorder.c index 6c8ae04..0ab0e5f 100644 --- a/apps/keymaps/keymap-recorder.c +++ b/apps/keymaps/keymap-recorder.c @@ -197,6 +197,7 @@ static const struct button_mapping button_context_keyboard[] = { { ACTION_KBD_UP, BUTTON_UP|BUTTON_REPEAT, BUTTON_NONE }, { ACTION_KBD_DOWN, BUTTON_DOWN, BUTTON_NONE }, { ACTION_KBD_DOWN, BUTTON_DOWN|BUTTON_REPEAT, BUTTON_NONE }, + { ACTION_KBD_MORSE_SELECT, BUTTON_PLAY|BUTTON_REL, BUTTON_NONE }, LAST_ITEM_IN_LIST }; /* button_context_keyboard */ diff --git a/apps/keymaps/keymap-x5.c b/apps/keymaps/keymap-x5.c index 8b94118..69602d7 100644 --- a/apps/keymaps/keymap-x5.c +++ b/apps/keymaps/keymap-x5.c @@ -132,9 +132,10 @@ static const struct button_mapping button_context_keyboard[] = { { ACTION_KBD_UP, BUTTON_UP|BUTTON_REPEAT, BUTTON_NONE }, { ACTION_KBD_DOWN, BUTTON_DOWN, BUTTON_NONE }, { ACTION_KBD_DOWN, BUTTON_DOWN|BUTTON_REPEAT, BUTTON_NONE }, - { ACTION_KBD_SELECT, BUTTON_SELECT|BUTTON_REL, BUTTON_SELECT }, + { ACTION_KBD_SELECT, BUTTON_SELECT, BUTTON_NONE }, { ACTION_KBD_DONE, BUTTON_PLAY, BUTTON_NONE }, { ACTION_KBD_ABORT, BUTTON_REC, BUTTON_NONE }, + { ACTION_KBD_MORSE_SELECT, BUTTON_SELECT|BUTTON_REL, BUTTON_NONE }, LAST_ITEM_IN_LIST }; /* button_context_keyboard */ diff --git a/apps/lang/english.lang b/apps/lang/english.lang index 9fa1f7b..198a3c7 100644 --- a/apps/lang/english.lang +++ b/apps/lang/english.lang @@ -13210,3 +13210,20 @@ *: "Queue Last Shuffled" </voice> </phrase> +<phrase> + id: LANG_MORSE_INPUT + desc: in Settings -> System + user: core + <source> + *: none + morse_input: "Use Morse Code Input" + </source> + <dest> + *: none + morse_input: "Use Morse Code Input" + </dest> + <voice> + *: none + morse_input: "Use Morse Code Input" + </voice> +</phrase> diff --git a/apps/menus/settings_menu.c b/apps/menus/settings_menu.c index c11bf0e..135e632 100644 --- a/apps/menus/settings_menu.c +++ b/apps/menus/settings_menu.c @@ -257,6 +257,10 @@ MENUITEM_SETTING(usb_hid, &global_settings.usb_hid, NULL); MENUITEM_SETTING(usb_keypad_mode, &global_settings.usb_keypad_mode, NULL); #endif +#ifdef HAVE_MORSE_INPUT +MENUITEM_SETTING(morse_input, &global_settings.morse_input, NULL); +#endif + #ifdef HAVE_BUTTON_LIGHT MENUITEM_SETTING(buttonlight_timeout, &global_settings.buttonlight_timeout, NULL); #endif @@ -280,6 +284,9 @@ MAKE_MENU(system_menu, ID2P(LANG_SYSTEM), #endif &poweroff, &limits_menu, +#ifdef HAVE_MORSE_INPUT + &morse_input, +#endif #if CONFIG_CODEC == MAS3507D &line_in, #endif @@ -287,7 +294,7 @@ MAKE_MENU(system_menu, ID2P(LANG_SYSTEM), &car_adapter_mode, #endif #ifdef IPOD_ACCESSORY_PROTOCOL - &serial_bitrate, + &serial_bitrate, #endif #ifdef HAVE_ACCESSORY_SUPPLY &accessory_supply, diff --git a/apps/recorder/keyboard.c b/apps/recorder/keyboard.c index e6a3c92..1e9e8f3 100644 --- a/apps/recorder/keyboard.c +++ b/apps/recorder/keyboard.c @@ -49,45 +49,47 @@ #define DEFAULT_MARGIN 6 #define KBD_BUF_SIZE 500 -#if (CONFIG_KEYPAD == IRIVER_H100_PAD) || \ - (CONFIG_KEYPAD == IRIVER_H300_PAD) -#define KBD_CURSOR_KEYS /* certain key combos move the cursor even if not - in line edit mode */ -#define KBD_MODES /* I-Rivers can use picker, line edit and cursor keys */ -#define KBD_MORSE_INPUT /* I-Rivers have a Morse input mode */ - -#elif CONFIG_KEYPAD == ONDIO_PAD /* restricted Ondio keypad */ -#define KBD_MODES /* Ondio uses 2 modes, picker and line edit */ - -#elif (CONFIG_KEYPAD == IPOD_1G2G_PAD) || (CONFIG_KEYPAD == IPOD_3G_PAD) \ - || (CONFIG_KEYPAD == IPOD_4G_PAD) -#define KBD_MODES /* iPod uses 2 modes, picker and line edit */ -#define KBD_MORSE_INPUT - -#elif CONFIG_KEYPAD == IRIVER_IFP7XX_PAD -#define KBD_MODES /* iFP7xx uses 2 modes, picker and line edit */ - -#elif (CONFIG_KEYPAD == IAUDIO_X5M5_PAD) || (CONFIG_KEYPAD == IAUDIO_M3_PAD) -#define KBD_MODES /* iAudios use 2 modes, picker and line edit */ - -#elif CONFIG_KEYPAD == IRIVER_H10_PAD -#define KBD_MODES /* iriver H10 uses 2 modes, picker and line edit */ -#define KBD_MORSE_INPUT - -#elif CONFIG_KEYPAD == GIGABEAT_PAD +#if (CONFIG_KEYPAD == ONDIO_PAD) \ + || (CONFIG_KEYPAD == IPOD_1G2G_PAD) \ + || (CONFIG_KEYPAD == IPOD_3G_PAD) \ + || (CONFIG_KEYPAD == IPOD_4G_PAD) \ + || (CONFIG_KEYPAD == IRIVER_IFP7XX_PAD) \ + || (CONFIG_KEYPAD == IAUDIO_X5M5_PAD) \ + || (CONFIG_KEYPAD == IAUDIO_M3_PAD) \ + || (CONFIG_KEYPAD == IRIVER_H10_PAD) +/* no key combos to move the cursor if not in line edit mode */ +#define KBD_MODES /* uses 2 modes, picker and line edit */ + +#elif (CONFIG_KEYPAD == IRIVER_H100_PAD) \ + || (CONFIG_KEYPAD == IRIVER_H300_PAD) \ + || (CONFIG_KEYPAD == GIGABEAT_PAD) \ + || (CONFIG_KEYPAD == GIGABEAT_S_PAD) \ + || (CONFIG_KEYPAD == SANSA_E200_PAD) \ + || (CONFIG_KEYPAD == SANSA_FUZE_PAD) \ + || (CONFIG_KEYPAD == SANSA_C200_PAD) \ + || (CONFIG_KEYPAD == SAMSUNG_YH_PAD) +/* certain key combos move the cursor even if not in line edit mode */ #define KBD_CURSOR_KEYS -#define KBD_MODES -#define KBD_MORSE_INPUT +#define KBD_MODES /* uses 2 modes, picker and line edit */ -#elif CONFIG_KEYPAD == SANSA_E200_PAD \ - || CONFIG_KEYPAD == SANSA_FUZE_PAD \ - || CONFIG_KEYPAD == SANSA_C200_PAD \ - || CONFIG_KEYPAD == SAMSUNG_YH_PAD -#define KBD_CURSOR_KEYS -#define KBD_MODES +#else +#define KBD_CURSOR_KEYS /* certain keys move the cursor, no line edit mode */ +#endif -#elif CONFIG_KEYPAD == MROBE100_PAD -#define KBD_MORSE_INPUT +#if (CONFIG_KEYPAD == IRIVER_H100_PAD) \ + || (CONFIG_KEYPAD == IRIVER_H300_PAD) \ + || (CONFIG_KEYPAD == IPOD_1G2G_PAD) \ + || (CONFIG_KEYPAD == IPOD_3G_PAD) \ + || (CONFIG_KEYPAD == IPOD_4G_PAD) \ + || (CONFIG_KEYPAD == IRIVER_H10_PAD) \ + || (CONFIG_KEYPAD == GIGABEAT_PAD) \ + || (CONFIG_KEYPAD == GIGABEAT_S_PAD) \ + || (CONFIG_KEYPAD == MROBE100_PAD) \ + || (CONFIG_KEYPAD == SANSA_E200_PAD) \ + || (CONFIG_KEYPAD == PHILIPS_HDD1630_PAD) \ + || (CONFIG_KEYPAD == PHILIPS_SA9200_PAD) +/* certain key combos toggle input mode between keyboard input and Morse input */ +#define KBD_TOGGLE_INPUT #endif struct keyboard_parameters @@ -124,7 +126,7 @@ struct keyboard_parameters static struct keyboard_parameters kbd_param[NB_SCREENS]; static bool kbd_loaded = false; -#ifdef KBD_MORSE_INPUT +#ifdef HAVE_MORSE_INPUT /* FIXME: We should put this to a configuration file. */ static const char *morse_alphabets = "abcdefghijklmnopqrstuvwxyz1234567890,.?-@ "; @@ -134,7 +136,6 @@ static const unsigned char morse_codes[] = { 0x2f,0x27,0x23,0x21,0x20,0x30,0x38,0x3c,0x3e,0x3f, 0x73,0x55,0x4c,0x61,0x5a,0x80 }; -static bool morse_mode = false; #endif /* Loads a custom keyboard into memory @@ -306,7 +307,8 @@ int kbd_input(char* text, int buflen) unsigned char *utf8; bool cur_blink = true; /* Cursor on/off flag */ int ret = 0; /* assume success */ -#ifdef KBD_MORSE_INPUT +#ifdef HAVE_MORSE_INPUT + bool morse_mode = global_settings.morse_input; bool morse_reading = false; unsigned char morse_code = 0; int morse_tick = 0; @@ -534,10 +536,10 @@ int kbd_input(char* text, int buflen) pm->main_x = 0; pm->keyboard_margin -= pm->keyboard_margin/2; -#ifdef KBD_MORSE_INPUT +#ifdef HAVE_MORSE_INPUT pm->old_main_y = pm->main_y; if (morse_mode) - pm->main_y = sc_h - pm->font_h; + pm->main_y = sc_h - pm->font_h - BUTTONBAR_HEIGHT; #endif } @@ -567,7 +569,7 @@ int kbd_input(char* text, int buflen) FOR_NB_SCREENS(l) screens[l].clear_display(); -#ifdef KBD_MORSE_INPUT +#ifdef HAVE_MORSE_INPUT if (morse_mode) { FOR_NB_SCREENS(l) @@ -615,7 +617,7 @@ int kbd_input(char* text, int buflen) } } else -#endif /* KBD_MORSE_INPUT */ +#endif /* HAVE_MORSE_INPUT */ { /* draw page */ FOR_NB_SCREENS(l) @@ -752,7 +754,7 @@ int kbd_input(char* text, int buflen) sc->getwidth(), pm->font_h + 2); else /* highlight the key that has focus */ #endif -#ifdef KBD_MORSE_INPUT +#ifdef HAVE_MORSE_INPUT if(!morse_mode) #endif sc->fillrect(pm->font_w*pm->x, @@ -771,14 +773,14 @@ int kbd_input(char* text, int buflen) pm = ¶m[button_screen]; sc = &screens[button_screen]; -#if defined(KBD_MODES) || defined(KBD_MORSE_INPUT) +#if defined(KBD_MODES) || defined(HAVE_MORSE_INPUT) /* Remap some buttons to allow to move * cursor in line edit mode and morse mode. */ -#if defined(KBD_MODES) && defined(KBD_MORSE_INPUT) +#if defined(KBD_MODES) && defined(HAVE_MORSE_INPUT) if (pm->line_edit || morse_mode) #elif defined(KBD_MODES) if (pm->line_edit) -#else /* defined(KBD_MORSE_INPUT) */ +#else /* defined(HAVE_MORSE_INPUT) */ if (morse_mode) #endif { @@ -787,7 +789,7 @@ int kbd_input(char* text, int buflen) if (button == ACTION_KBD_RIGHT) button = ACTION_KBD_CURSOR_RIGHT; } -#endif /* defined(KBD_MODES) || defined(KBD_MORSE_INPUT) */ +#endif /* defined(KBD_MODES) || defined(HAVE_MORSE_INPUT) */ switch ( button ) { @@ -798,7 +800,7 @@ int kbd_input(char* text, int buflen) case ACTION_KBD_PAGE_FLIP: { -#ifdef KBD_MORSE_INPUT +#ifdef HAVE_MORSE_INPUT if (morse_mode) break; #endif @@ -810,7 +812,7 @@ int kbd_input(char* text, int buflen) break; } -#ifdef KBD_MORSE_INPUT +#if defined(HAVE_MORSE_INPUT) && defined(KBD_TOGGLE_INPUT) case ACTION_KBD_MORSE_INPUT: morse_mode = !morse_mode; @@ -822,7 +824,7 @@ int kbd_input(char* text, int buflen) if (morse_mode) { pm->old_main_y = pm->main_y; - pm->main_y = sc->getheight() - pm->font_h; + pm->main_y = sc->getheight() - pm->font_h - BUTTONBAR_HEIGHT; } else { @@ -831,7 +833,7 @@ int kbd_input(char* text, int buflen) } /* FIXME: We should talk something like Morse mode.. */ break; -#endif /* KBD_MORSE_INPUT */ +#endif /* KBD_TOGGLE_INPUT */ case ACTION_KBD_RIGHT: if (++pm->x >= pm->max_chars) @@ -864,7 +866,7 @@ int kbd_input(char* text, int buflen) break; case ACTION_KBD_DOWN: -#ifdef KBD_MORSE_INPUT +#ifdef HAVE_MORSE_INPUT #ifdef KBD_MODES if (morse_mode) { @@ -877,7 +879,7 @@ int kbd_input(char* text, int buflen) if (morse_mode) break; #endif -#endif /* KBD_MORSE_INPUT */ +#endif /* HAVE_MORSE_INPUT */ { #ifdef KBD_MODES if (pm->line_edit) @@ -907,7 +909,7 @@ int kbd_input(char* text, int buflen) break; case ACTION_KBD_UP: -#ifdef KBD_MORSE_INPUT +#ifdef HAVE_MORSE_INPUT #ifdef KBD_MODES if (morse_mode) { @@ -920,7 +922,7 @@ int kbd_input(char* text, int buflen) if (morse_mode) break; #endif -#endif /* KBD_MORSE_INPUT */ +#endif /* HAVE_MORSE_INPUT */ { #ifdef KBD_MODES if (pm->line_edit) @@ -955,7 +957,7 @@ int kbd_input(char* text, int buflen) done = true; break; -#ifdef KBD_MORSE_INPUT +#ifdef HAVE_MORSE_INPUT case ACTION_KBD_MORSE_SELECT: if (morse_mode && morse_reading) { @@ -965,10 +967,10 @@ int kbd_input(char* text, int buflen) } break; -#endif /* KBD_MORSE_INPUT */ +#endif /* HAVE_MORSE_INPUT */ case ACTION_KBD_SELECT: -#ifdef KBD_MORSE_INPUT +#ifdef HAVE_MORSE_INPUT #ifdef KBD_MODES if (morse_mode && !pm->line_edit) #else @@ -984,7 +986,7 @@ int kbd_input(char* text, int buflen) } break; } -#endif /* KBD_MORSE_INPUT */ +#endif /* HAVE_MORSE_INPUT */ /* inserts the selected char */ #ifdef KBD_MODES @@ -1088,7 +1090,7 @@ int kbd_input(char* text, int buflen) /* speak revised text */ break; -#if !defined (KBD_MODES) || defined (KBD_CURSOR_KEYS) +#ifdef KBD_CURSOR_KEYS case ACTION_KBD_BACKSPACE: if (pm->hangul) { @@ -1114,7 +1116,7 @@ int kbd_input(char* text, int buflen) if (global_settings.talk_menu) /* voice UI? */ talk_spell(text, false); /* speak revised text */ break; -#endif /* !defined (KBD_MODES) || defined (KBD_CURSOR_KEYS) */ +#endif /* KBD_CURSOR_KEYS */ case ACTION_KBD_CURSOR_RIGHT: pm->hangul = false; @@ -1145,7 +1147,7 @@ int kbd_input(char* text, int buflen) break; case BUTTON_NONE: -#ifdef KBD_MORSE_INPUT +#ifdef HAVE_MORSE_INPUT if (morse_reading) { int j; @@ -1172,7 +1174,7 @@ int kbd_input(char* text, int buflen) if (global_settings.talk_menu) /* voice UI? */ talk_spell(text, false); /* speak revised text */ } -#endif /* KBD_MORSE_INPUT */ +#endif /* HAVE_MORSE_INPUT */ break; default: @@ -1198,6 +1200,14 @@ int kbd_input(char* text, int buflen) if (ret < 0) splash(HZ/2, ID2P(LANG_CANCEL)); +#ifdef HAVE_MORSE_INPUT + if(global_settings.morse_input != morse_mode) + { + global_settings.morse_input = morse_mode; + settings_save(); + } +#endif /* HAVE_MORSE_INPUT */ + FOR_NB_SCREENS(l) screens[l].setfont(FONT_UI); viewportmanager_set_statusbar(oldbars); diff --git a/apps/settings.h b/apps/settings.h index 8800788..eba592a 100644 --- a/apps/settings.h +++ b/apps/settings.h @@ -798,6 +798,10 @@ struct user_settings int compressor_release_time; #endif +#ifdef HAVE_MORSE_INPUT + bool morse_input; /* text input method setting */ +#endif + }; /** global variables **/ diff --git a/apps/settings_list.c b/apps/settings_list.c index b0a1a76..9f290e2 100644 --- a/apps/settings_list.c +++ b/apps/settings_list.c @@ -1635,6 +1635,10 @@ const struct settings_list settings[] = { VIEWPORT_SETTING(remote_ui_vp_config, "remote ui viewport"), #endif #endif + +#ifdef HAVE_MORSE_INPUT + OFFON_SETTING(0, morse_input, LANG_MORSE_INPUT, false, "morse input", NULL), +#endif }; const int nb_settings = sizeof(settings)/sizeof(*settings); |