summaryrefslogtreecommitdiff
path: root/apps/plugins/robotfindskitten.c
diff options
context:
space:
mode:
Diffstat (limited to 'apps/plugins/robotfindskitten.c')
-rw-r--r--apps/plugins/robotfindskitten.c12
1 files changed, 12 insertions, 0 deletions
diff --git a/apps/plugins/robotfindskitten.c b/apps/plugins/robotfindskitten.c
index ed3cda2fc7..a2bff3bfbe 100644
--- a/apps/plugins/robotfindskitten.c
+++ b/apps/plugins/robotfindskitten.c
@@ -496,6 +496,18 @@ static char* messages[] =
# define RFK_RUP (BUTTON_UP | BUTTON_REPEAT)
# define RFK_RDOWN (BUTTON_DOWN | BUTTON_REPEAT)
+#elif (CONFIG_KEYPAD == SAMSUNG_YH_PAD)
+# undef __PLUGINLIB_ACTIONS_H__
+# define RFK_QUIT (BUTTON_REC|BUTTON_REPEAT)
+# define RFK_RIGHT BUTTON_RIGHT
+# define RFK_LEFT BUTTON_LEFT
+# define RFK_UP BUTTON_UP
+# define RFK_DOWN BUTTON_DOWN
+# define RFK_RRIGHT (BUTTON_PLAY | BUTTON_RIGHT)
+# define RFK_RLEFT (BUTTON_PLAY | BUTTON_LEFT)
+# define RFK_RUP (BUTTON_PLAY | BUTTON_UP)
+# define RFK_RDOWN (BUTTON_PLAY | BUTTON_DOWN)
+
#else
# define RFK_QUIT PLA_QUIT
# define RFK_RIGHT PLA_RIGHT