diff --git a/apps/plugins/fft/fft.c b/apps/plugins/fft/fft.c index a9724196ac..70bea5228c 100644 --- a/apps/plugins/fft/fft.c +++ b/apps/plugins/fft/fft.c @@ -181,6 +181,15 @@ GREY_INFO_STRUCT # define FFT_FREQ_SCALE BUTTON_DOWN # define FFT_QUIT BUTTON_POWER +#elif CONFIG_KEYPAD == PHILIPS_SA9200_PAD +# define FFT_PREV_GRAPH BUTTON_PREV +# define FFT_NEXT_GRAPH BUTTON_NEXT +# define FFT_ORIENTATION BUTTON_PLAY +# define FFT_WINDOW BUTTON_MENU +# define FFT_AMP_SCALE BUTTON_UP +# define FFT_FREQ_SCALE BUTTON_DOWN +# define FFT_QUIT BUTTON_POWER + #elif (CONFIG_KEYPAD == SAMSUNG_YH_PAD) # define FFT_PREV_GRAPH BUTTON_LEFT # define FFT_NEXT_GRAPH BUTTON_RIGHT diff --git a/apps/plugins/lib/pluginlib_actions.c b/apps/plugins/lib/pluginlib_actions.c index 1eafe87aea..59756f530e 100644 --- a/apps/plugins/lib/pluginlib_actions.c +++ b/apps/plugins/lib/pluginlib_actions.c @@ -250,7 +250,6 @@ const struct button_mapping pla_main_ctx[] = || CONFIG_KEYPAD == SANSA_CLIP_PAD \ || CONFIG_KEYPAD == SANSA_M200_PAD \ || CONFIG_KEYPAD == MROBE100_PAD \ - || CONFIG_KEYPAD == PHILIPS_SA9200_PAD \ || CONFIG_KEYPAD == PHILIPS_HDD1630_PAD) {PLA_CANCEL, BUTTON_POWER|BUTTON_REL, BUTTON_POWER}, {PLA_EXIT, BUTTON_POWER|BUTTON_REPEAT, BUTTON_NONE}, @@ -323,9 +322,9 @@ const struct button_mapping pla_main_ctx[] = {PLA_SELECT, BUTTON_RC_MODE, BUTTON_NONE}, {PLA_SELECT_REL, BUTTON_RC_MODE|BUTTON_REL, BUTTON_RC_MODE}, {PLA_SELECT_REPEAT, BUTTON_RC_MODE|BUTTON_REPEAT, BUTTON_NONE}, -#elif CONFIG_KEYPAD == PHILIPS_SA9200_PAD +#elif (CONFIG_KEYPAD == PHILIPS_SA9200_PAD) {PLA_EXIT, BUTTON_POWER, BUTTON_NONE}, - {PLA_CANCE BUTTON_MENU, BUTTON_NONE}, + {PLA_CANCEL, BUTTON_MENU, BUTTON_NONE}, {PLA_SELECT, BUTTON_PLAY, BUTTON_NONE}, {PLA_SELECT_REL, BUTTON_PLAY|BUTTON_REL, BUTTON_PLAY}, {PLA_SELECT_REPEAT, BUTTON_PLAY|BUTTON_REPEAT, BUTTON_NONE},