summaryrefslogtreecommitdiffstats
path: root/apps/screens.h
diff options
context:
space:
mode:
authorLinus Nielsen Feltzing <linus@haxx.se>2006-08-15 12:27:07 +0000
committerLinus Nielsen Feltzing <linus@haxx.se>2006-08-15 12:27:07 +0000
commit224c0a13ebb5828b9bc06a9c1c23ae17f0ac19f9 (patch)
treebae2154b272f786983cf8e6de28d33f98f327560 /apps/screens.h
parentc0f8b187706364f5e4bda2ac26750d14454c901d (diff)
downloadrockbox-224c0a13ebb5828b9bc06a9c1c23ae17f0ac19f9.tar.gz
rockbox-224c0a13ebb5828b9bc06a9c1c23ae17f0ac19f9.tar.bz2
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.h45
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 @@
#include "config.h"
#include "timefuncs.h"
-#if (CONFIG_KEYPAD == RECORDER_PAD) || (CONFIG_KEYPAD == IRIVER_H100_PAD) ||\
- (CONFIG_KEYPAD == IRIVER_H300_PAD)
-#define PITCH_UP BUTTON_UP
-#define PITCH_DOWN BUTTON_DOWN
-#define PITCH_RIGHT BUTTON_RIGHT
-#define PITCH_LEFT BUTTON_LEFT
-#define PITCH_EXIT BUTTON_OFF
-#define PITCH_RESET BUTTON_ON
-#elif (CONFIG_KEYPAD == ONDIO_PAD)
-#define PITCH_UP BUTTON_UP
-#define PITCH_DOWN BUTTON_DOWN
-#define PITCH_RIGHT BUTTON_RIGHT
-#define PITCH_LEFT BUTTON_LEFT
-#define PITCH_EXIT BUTTON_OFF
-#define PITCH_RESET BUTTON_MENU
-#elif (CONFIG_KEYPAD == IPOD_4G_PAD) || (CONFIG_KEYPAD == IPOD_3G_PAD)
-#define PITCH_UP BUTTON_SCROLL_FWD
-#define PITCH_DOWN BUTTON_SCROLL_BACK
-#define PITCH_RIGHT BUTTON_RIGHT
-#define PITCH_LEFT BUTTON_LEFT
-#define PITCH_EXIT BUTTON_SELECT
-#define PITCH_RESET BUTTON_MENU
-#elif (CONFIG_KEYPAD == GIGABEAT_PAD)
-#define PITCH_UP BUTTON_UP
-#define PITCH_DOWN BUTTON_DOWN
-#define PITCH_RIGHT BUTTON_RIGHT
-#define PITCH_LEFT BUTTON_LEFT
-#define PITCH_EXIT BUTTON_SELECT
-#define PITCH_RESET BUTTON_A
-#elif (CONFIG_KEYPAD == IAUDIO_X5_PAD)
-#define PITCH_UP BUTTON_UP
-#define PITCH_DOWN BUTTON_DOWN
-#define PITCH_RIGHT BUTTON_RIGHT
-#define PITCH_LEFT BUTTON_LEFT
-#define PITCH_EXIT BUTTON_PLAY
-#define PITCH_RESET BUTTON_POWER
-#elif (CONFIG_KEYPAD == IRIVER_H10_PAD)
-#define PITCH_UP BUTTON_SCROLL_UP
-#define PITCH_DOWN BUTTON_SCROLL_DOWN
-#define PITCH_RIGHT BUTTON_RIGHT
-#define PITCH_LEFT BUTTON_LEFT
-#define PITCH_EXIT BUTTON_PLAY
-#define PITCH_RESET BUTTON_POWER
-#endif
-
struct screen;
void usb_display_info(struct screen * display);