summaryrefslogtreecommitdiff
path: root/apps/plugins/fft
diff options
context:
space:
mode:
Diffstat (limited to 'apps/plugins/fft')
-rw-r--r--apps/plugins/fft/fft.c9
1 files changed, 9 insertions, 0 deletions
diff --git a/apps/plugins/fft/fft.c b/apps/plugins/fft/fft.c
index 3e88722..a83bd36 100644
--- a/apps/plugins/fft/fft.c
+++ b/apps/plugins/fft/fft.c
@@ -325,6 +325,15 @@ GREY_INFO_STRUCT
# define FFT_PREV_GRAPH BUTTON_VOL_UP
# define FFT_NEXT_GRAPH BUTTON_VOL_DOWN
+#elif (CONFIG_KEYPAD == AGPTEK_ROCKER_PAD)
+# define FFT_PREV_GRAPH BUTTON_LEFT
+# define FFT_NEXT_GRAPH BUTTON_RIGHT
+# define FFT_AMP_SCALE BUTTON_UP
+# define FFT_FREQ_SCALE BUTTON_DOWN
+# define FFT_QUIT BUTTON_POWER
+# define FFT_ORIENTATION BUTTON_SELECT
+# define FFT_WINDOW BUTTON_VOLDOWN
+
#elif !defined(HAVE_TOUCHSCREEN)
#error No keymap defined!
#endif