4 #if (CONFIG_KEYPAD == IPOD_4G_PAD) || (CONFIG_KEYPAD == IPOD_3G_PAD) || \
5 (CONFIG_KEYPAD == IPOD_1G2G_PAD)
7 #define ZX_UP BUTTON_MENU
8 #define ZX_DOWN BUTTON_PLAY
9 #define ZX_SELECT BUTTON_SELECT
10 #define ZX_LEFT BUTTON_LEFT
11 #define ZX_RIGHT BUTTON_RIGHT
13 #elif CONFIG_KEYPAD == IRIVER_H100_PAD || CONFIG_KEYPAD == IRIVER_H300_PAD
15 #define ZX_UP BUTTON_UP
16 #define ZX_DOWN BUTTON_DOWN
17 #define ZX_LEFT BUTTON_LEFT
18 #define ZX_RIGHT BUTTON_RIGHT
19 #define ZX_SELECT BUTTON_ON
20 #define ZX_MENU BUTTON_MODE
22 #elif CONFIG_KEYPAD == GIGABEAT_PAD
24 #define ZX_UP BUTTON_UP
25 #define ZX_DOWN BUTTON_DOWN
26 #define ZX_LEFT BUTTON_LEFT
27 #define ZX_RIGHT BUTTON_RIGHT
28 #define ZX_SELECT BUTTON_SELECT
29 #define ZX_MENU BUTTON_MENU
31 #elif CONFIG_KEYPAD == IAUDIO_X5M5_PAD
33 #define ZX_RIGHT BUTTON_RIGHT
34 #define ZX_LEFT BUTTON_LEFT
35 #define ZX_UP BUTTON_UP
36 #define ZX_DOWN BUTTON_DOWN
37 #define ZX_SELECT BUTTON_SELECT
38 #define ZX_MENU BUTTON_PLAY
40 #elif CONFIG_KEYPAD == RECORDER_PAD
41 #define ZX_SELECT BUTTON_PLAY
42 #define ZX_MENU BUTTON_OFF
43 #define ZX_LEFT BUTTON_LEFT
44 #define ZX_RIGHT BUTTON_RIGHT
45 #define ZX_UP BUTTON_UP
46 #define ZX_DOWN BUTTON_DOWN
48 #elif CONFIG_KEYPAD == ARCHOS_AV300_PAD
49 #define ZX_SELECT BUTTON_SELECT
50 #define ZX_MENU BUTTON_OFF
51 #define ZX_LEFT BUTTON_LEFT
52 #define ZX_RIGHT BUTTON_RIGHT
53 #define ZX_UP BUTTON_UP
54 #define ZX_DOWN BUTTON_DOWN
56 #elif CONFIG_KEYPAD == ONDIO_PAD
57 #define ZX_SELECT BUTTON_MENU
58 #define ZX_MENU BUTTON_OFF
59 #define ZX_LEFT BUTTON_LEFT
60 #define ZX_RIGHT BUTTON_RIGHT
61 #define ZX_UP BUTTON_UP
62 #define ZX_DOWN BUTTON_DOWN
64 #elif CONFIG_KEYPAD == IRIVER_IFP7XX_PAD
65 #define ZX_SELECT BUTTON_SELECT
66 #define ZX_MENU BUTTON_PLAY
67 #define ZX_LEFT BUTTON_LEFT
68 #define ZX_RIGHT BUTTON_RIGHT
69 #define ZX_UP BUTTON_UP
70 #define ZX_DOWN BUTTON_DOWN
72 #elif CONFIG_KEYPAD == IRIVER_H10_PAD
73 #define ZX_SELECT BUTTON_REW
74 #define ZX_MENU BUTTON_FF
75 #define ZX_LEFT BUTTON_LEFT
76 #define ZX_RIGHT BUTTON_RIGHT
77 #define ZX_UP BUTTON_SCROLL_UP
78 #define ZX_DOWN BUTTON_SCROLL_DOWN
80 #elif (CONFIG_KEYPAD == SANSA_E200_PAD) || \
81 (CONFIG_KEYPAD == SANSA_C200_PAD)
82 #define ZX_SELECT BUTTON_SELECT
83 #define ZX_MENU BUTTON_POWER
84 #define ZX_LEFT BUTTON_LEFT
85 #define ZX_RIGHT BUTTON_RIGHT
86 #define ZX_UP BUTTON_UP
87 #define ZX_DOWN BUTTON_DOWN
89 #elif CONFIG_KEYPAD == MROBE500_PAD
90 #define ZX_UP BUTTON_RC_PLAY
91 #define ZX_DOWN BUTTON_RC_DOWN
92 #define ZX_LEFT BUTTON_RC_REW
93 #define ZX_RIGHT BUTTON_RC_FF
94 #define ZX_SELECT BUTTON_RC_MODE
95 #define ZX_MENU (BUTTON_POWER | BUTTON_REL)
98 #error Keymap not defined!