summaryrefslogtreecommitdiffstats
path: root/apps/plugins/robotfindskitten.c
diff options
context:
space:
mode:
authorMichael Giacomelli <giac2000@hotmail.com>2009-08-04 03:08:32 +0000
committerMichael Giacomelli <giac2000@hotmail.com>2009-08-04 03:08:32 +0000
commit594b6e2b496e69ca843b21bf04810bdb919099a7 (patch)
tree046af11c0c199fae3e41006f5aff39b4f6539f4f /apps/plugins/robotfindskitten.c
parent11ac0b3f2a7d2abc0ae6127752559b1ffafbebff (diff)
downloadrockbox-594b6e2b496e69ca843b21bf04810bdb919099a7.tar.gz
rockbox-594b6e2b496e69ca843b21bf04810bdb919099a7.zip
Commit FS#10251. Plugins for the YH-820, YH-920, and YH-925 by Jens Erdmann with improvements and bitmap graphics by me.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@22149 a1c6a512-1295-4272-9138-f99709370657
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