summaryrefslogtreecommitdiff
path: root/apps/plugins/lamp.c
diff options
context:
space:
mode:
Diffstat (limited to 'apps/plugins/lamp.c')
-rw-r--r--apps/plugins/lamp.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/apps/plugins/lamp.c b/apps/plugins/lamp.c
index f95516e384..7389811a59 100644
--- a/apps/plugins/lamp.c
+++ b/apps/plugins/lamp.c
@@ -140,6 +140,12 @@
140# define LAMP_UP BUTTON_UP 140# define LAMP_UP BUTTON_UP
141# define LAMP_DOWN BUTTON_DOWN 141# define LAMP_DOWN BUTTON_DOWN
142 142
143#elif CONFIG_KEYPAD == SANSA_CLIP_PAD
144# define LAMP_LEFT BUTTON_LEFT
145# define LAMP_RIGHT BUTTON_RIGHT
146# define LAMP_UP BUTTON_UP
147# define LAMP_DOWN BUTTON_DOWN
148
143#else 149#else
144# error Missing key definitions for this keypad 150# error Missing key definitions for this keypad
145#endif 151#endif