diff options
Diffstat (limited to 'apps')
-rw-r--r-- | apps/keymaps/keymap-ondio.c | 8 | ||||
-rw-r--r-- | apps/keymaps/keymap-recorder.c | 2 | ||||
-rw-r--r-- | apps/keymaps/keymap-x5.c | 2 | ||||
-rw-r--r-- | apps/recorder/radio.c | 3 |
4 files changed, 15 insertions, 0 deletions
diff --git a/apps/keymaps/keymap-ondio.c b/apps/keymaps/keymap-ondio.c index 80b6923ffa..35243c5700 100644 --- a/apps/keymaps/keymap-ondio.c +++ b/apps/keymaps/keymap-ondio.c @@ -162,6 +162,12 @@ const struct button_mapping button_context_radio[] = { { ACTION_FM_RECORD, BUTTON_MENU | BUTTON_REL, BUTTON_NONE }, { ACTION_FM_STOP, BUTTON_OFF | BUTTON_REL, BUTTON_OFF }, { ACTION_FM_EXIT, BUTTON_OFF | BUTTON_REPEAT, BUTTON_OFF }, + { ACTION_STD_PREV, BUTTON_LEFT, BUTTON_NONE }, + { ACTION_STD_PREVREPEAT, BUTTON_LEFT|BUTTON_REPEAT, BUTTON_NONE }, + { ACTION_STD_NEXT, BUTTON_RIGHT, BUTTON_NONE }, + { ACTION_STD_NEXTREPEAT, BUTTON_RIGHT|BUTTON_REPEAT, BUTTON_NONE }, + + LAST_ITEM_IN_LIST__NEXTLIST(CONTEXT_SETTINGS) @@ -197,6 +203,8 @@ const struct button_mapping* get_context_mapping( int context ) return button_context_recscreen; case CONTEXT_KEYBOARD: return button_context_keyboard; + case CONTEXT_FM: + return button_context_radio; case CONTEXT_LIST: case CONTEXT_MAINMENU: diff --git a/apps/keymaps/keymap-recorder.c b/apps/keymaps/keymap-recorder.c index 489f9fbd44..02e720847f 100644 --- a/apps/keymaps/keymap-recorder.c +++ b/apps/keymaps/keymap-recorder.c @@ -281,6 +281,8 @@ const struct button_mapping* get_context_mapping( int context ) return button_context_recscreen; case CONTEXT_KEYBOARD: return button_context_keyboard; + case CONTEXT_FM: + return button_context_radio; case CONTEXT_STD: case CONTEXT_LIST: diff --git a/apps/keymaps/keymap-x5.c b/apps/keymaps/keymap-x5.c index 3bc6c97dee..b83cbe6dc1 100644 --- a/apps/keymaps/keymap-x5.c +++ b/apps/keymaps/keymap-x5.c @@ -357,6 +357,8 @@ const struct button_mapping* get_context_mapping( int context ) return button_context_recscreen; case CONTEXT_KEYBOARD: return button_context_keyboard; + case CONTEXT_FM: + return button_context_radio; case CONTEXT_MAINMENU: return button_context_menu; diff --git a/apps/recorder/radio.c b/apps/recorder/radio.c index 5b8faafae5..ece5d97a71 100644 --- a/apps/recorder/radio.c +++ b/apps/recorder/radio.c @@ -68,12 +68,15 @@ #define FM_PRESET_ADD #define FM_PRESET_ACTION #define FM_PRESET +#define FM_MODE #elif (CONFIG_KEYPAD == IRIVER_H100_PAD) || (CONFIG_KEYPAD == IRIVER_H300_PAD) #define FM_PRESET +#define FM_MODE #elif (CONFIG_KEYPAD == IAUDIO_X5_PAD) #define FM_PRESET +#define FM_MODE #elif CONFIG_KEYPAD == ONDIO_PAD #define FM_RECORD_DBLPRE |