summaryrefslogtreecommitdiffstats
path: root/apps/plugins/snake.c
diff options
context:
space:
mode:
authorRobert Menes <rmenes@rockbox.org>2009-12-02 01:56:39 +0000
committerRobert Menes <rmenes@rockbox.org>2009-12-02 01:56:39 +0000
commite626dcba4079f3e3bacf7128e6a645d087b506c5 (patch)
treefdb2568f3bb9614b55846c5bc63ad8ac8f52a9ed /apps/plugins/snake.c
parent6ea0c3f2298c161c138f6a23418b0c7ddd5dfb77 (diff)
downloadrockbox-e626dcba4079f3e3bacf7128e6a645d087b506c5.tar.gz
rockbox-e626dcba4079f3e3bacf7128e6a645d087b506c5.tar.bz2
rockbox-e626dcba4079f3e3bacf7128e6a645d087b506c5.zip
Start committing plugin keymaps for the Philips GoGear SA9200.
I still have more plugins to finish, but this is an initial start and I can at least get them under version control in case I need to revise any. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@23813 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps/plugins/snake.c')
-rw-r--r--apps/plugins/snake.c8
1 files changed, 8 insertions, 0 deletions
diff --git a/apps/plugins/snake.c b/apps/plugins/snake.c
index 87b68d2055..461a862682 100644
--- a/apps/plugins/snake.c
+++ b/apps/plugins/snake.c
@@ -170,6 +170,14 @@ PLUGIN_HEADER
#define SNAKE_DOWN BUTTON_DOWN
#define SNAKE_PLAYPAUSE BUTTON_MENU
+#elif CONFIG_KEYPAD == PHILIPS_SA9200_PAD
+#define SNAKE_QUIT BUTTON_POWER
+#define SNAKE_LEFT BUTTON_PREV
+#define SNAKE_RIGHT BUTTON_NEXT
+#define SNAKE_UP BUTTON_UP
+#define SNAKE_DOWN BUTTON_DOWN
+#define SNAKE_PLAYPAUSE BUTTON_MENU
+
#elif CONFIG_KEYPAD == SAMSUNG_YH_PAD
#define SNAKE_QUIT BUTTON_REC
#define SNAKE_LEFT BUTTON_LEFT