summaryrefslogtreecommitdiff
path: root/apps/plugins/pong.c
diff options
context:
space:
mode:
authorSolomon Peachy <pizza@shaftnet.org>2018-06-29 16:09:28 -0400
committerSolomon Peachy <pizza@shaftnet.org>2019-01-02 08:10:01 -0500
commitd4942cc74c82c465ea395637c77ed06565b8b497 (patch)
tree8c1fa737c93f8a2ade5a1566857dc4dc8f578bd6 /apps/plugins/pong.c
parentaf9459a7992596e932c6d8cc0a6366ff0f0b0fca (diff)
downloadrockbox-d4942cc74c82c465ea395637c77ed06565b8b497.tar.gz
rockbox-d4942cc74c82c465ea395637c77ed06565b8b497.zip
Add Xuelin iHIFI 770/770C/800 support
Taken from the xvortex fork (Roman Stolyarov) Ported, rebased, and cleaned up by myself. Change-Id: I7b2bca2d29502f2e4544e42f3d122786dd4b7978
Diffstat (limited to 'apps/plugins/pong.c')
-rw-r--r--apps/plugins/pong.c16
1 files changed, 16 insertions, 0 deletions
diff --git a/apps/plugins/pong.c b/apps/plugins/pong.c
index d65134e5d2..cb3006d7c4 100644
--- a/apps/plugins/pong.c
+++ b/apps/plugins/pong.c
@@ -317,6 +317,22 @@ CONFIG_KEYPAD == MROBE500_PAD
317#define PONG_RIGHT_UP BUTTON_HOME 317#define PONG_RIGHT_UP BUTTON_HOME
318#define PONG_RIGHT_DOWN BUTTON_NEXT 318#define PONG_RIGHT_DOWN BUTTON_NEXT
319 319
320#elif CONFIG_KEYPAD == IHIFI_770_PAD
321#define PONG_QUIT BUTTON_POWER
322#define PONG_PAUSE BUTTON_PREV
323#define PONG_LEFT_UP BUTTON_PLAY
324#define PONG_LEFT_DOWN BUTTON_HOME
325#define PONG_RIGHT_UP BUTTON_VOL_UP
326#define PONG_RIGHT_DOWN BUTTON_VOL_DOWN
327
328#elif CONFIG_KEYPAD == IHIFI_800_PAD
329#define PONG_QUIT BUTTON_POWER
330#define PONG_PAUSE BUTTON_PREV
331#define PONG_LEFT_UP BUTTON_PLAY
332#define PONG_LEFT_DOWN BUTTON_HOME
333#define PONG_RIGHT_UP BUTTON_VOL_UP
334#define PONG_RIGHT_DOWN BUTTON_VOL_DOWN
335
320#else 336#else
321#error No keymap defined! 337#error No keymap defined!
322#endif 338#endif