diff options
author | Linus Nielsen Feltzing <linus@haxx.se> | 2006-08-15 12:27:07 +0000 |
---|---|---|
committer | Linus Nielsen Feltzing <linus@haxx.se> | 2006-08-15 12:27:07 +0000 |
commit | 224c0a13ebb5828b9bc06a9c1c23ae17f0ac19f9 (patch) | |
tree | bae2154b272f786983cf8e6de28d33f98f327560 /apps/screens.h | |
parent | c0f8b187706364f5e4bda2ac26750d14454c901d (diff) | |
download | rockbox-224c0a13ebb5828b9bc06a9c1c23ae17f0ac19f9.tar.gz rockbox-224c0a13ebb5828b9bc06a9c1c23ae17f0ac19f9.zip |
Finally, the new button action system is here, thanks to Jonathan Gordon. Some button mappings have changed and other things may break. Comments should go to the forum, http://forums.rockbox.org/index.php?topic=5829.0 or the mailing list.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@10582 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps/screens.h')
-rw-r--r-- | apps/screens.h | 45 |
1 files changed, 0 insertions, 45 deletions
diff --git a/apps/screens.h b/apps/screens.h index 34e7c9f603..deece8784d 100644 --- a/apps/screens.h +++ b/apps/screens.h | |||
@@ -22,51 +22,6 @@ | |||
22 | #include "config.h" | 22 | #include "config.h" |
23 | #include "timefuncs.h" | 23 | #include "timefuncs.h" |
24 | 24 | ||
25 | #if (CONFIG_KEYPAD == RECORDER_PAD) || (CONFIG_KEYPAD == IRIVER_H100_PAD) ||\ | ||
26 | (CONFIG_KEYPAD == IRIVER_H300_PAD) | ||
27 | #define PITCH_UP BUTTON_UP | ||
28 | #define PITCH_DOWN BUTTON_DOWN | ||
29 | #define PITCH_RIGHT BUTTON_RIGHT | ||
30 | #define PITCH_LEFT BUTTON_LEFT | ||
31 | #define PITCH_EXIT BUTTON_OFF | ||
32 | #define PITCH_RESET BUTTON_ON | ||
33 | #elif (CONFIG_KEYPAD == ONDIO_PAD) | ||
34 | #define PITCH_UP BUTTON_UP | ||
35 | #define PITCH_DOWN BUTTON_DOWN | ||
36 | #define PITCH_RIGHT BUTTON_RIGHT | ||
37 | #define PITCH_LEFT BUTTON_LEFT | ||
38 | #define PITCH_EXIT BUTTON_OFF | ||
39 | #define PITCH_RESET BUTTON_MENU | ||
40 | #elif (CONFIG_KEYPAD == IPOD_4G_PAD) || (CONFIG_KEYPAD == IPOD_3G_PAD) | ||
41 | #define PITCH_UP BUTTON_SCROLL_FWD | ||
42 | #define PITCH_DOWN BUTTON_SCROLL_BACK | ||
43 | #define PITCH_RIGHT BUTTON_RIGHT | ||
44 | #define PITCH_LEFT BUTTON_LEFT | ||
45 | #define PITCH_EXIT BUTTON_SELECT | ||
46 | #define PITCH_RESET BUTTON_MENU | ||
47 | #elif (CONFIG_KEYPAD == GIGABEAT_PAD) | ||
48 | #define PITCH_UP BUTTON_UP | ||
49 | #define PITCH_DOWN BUTTON_DOWN | ||
50 | #define PITCH_RIGHT BUTTON_RIGHT | ||
51 | #define PITCH_LEFT BUTTON_LEFT | ||
52 | #define PITCH_EXIT BUTTON_SELECT | ||
53 | #define PITCH_RESET BUTTON_A | ||
54 | #elif (CONFIG_KEYPAD == IAUDIO_X5_PAD) | ||
55 | #define PITCH_UP BUTTON_UP | ||
56 | #define PITCH_DOWN BUTTON_DOWN | ||
57 | #define PITCH_RIGHT BUTTON_RIGHT | ||
58 | #define PITCH_LEFT BUTTON_LEFT | ||
59 | #define PITCH_EXIT BUTTON_PLAY | ||
60 | #define PITCH_RESET BUTTON_POWER | ||
61 | #elif (CONFIG_KEYPAD == IRIVER_H10_PAD) | ||
62 | #define PITCH_UP BUTTON_SCROLL_UP | ||
63 | #define PITCH_DOWN BUTTON_SCROLL_DOWN | ||
64 | #define PITCH_RIGHT BUTTON_RIGHT | ||
65 | #define PITCH_LEFT BUTTON_LEFT | ||
66 | #define PITCH_EXIT BUTTON_PLAY | ||
67 | #define PITCH_RESET BUTTON_POWER | ||
68 | #endif | ||
69 | |||
70 | struct screen; | 25 | struct screen; |
71 | 26 | ||
72 | void usb_display_info(struct screen * display); | 27 | void usb_display_info(struct screen * display); |