summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Stenberg <daniel@haxx.se>2003-12-15 13:14:23 +0000
committerDaniel Stenberg <daniel@haxx.se>2003-12-15 13:14:23 +0000
commit42ea60e459cfd61568df1a256e6f081b61932d60 (patch)
tree5d378a4cbcb0ed06b4c5ab6a004eb7685c22de32
parent2b89b9d571889365d723e2a030310a51fa256b30 (diff)
downloadrockbox-42ea60e459cfd61568df1a256e6f081b61932d60.tar.gz
rockbox-42ea60e459cfd61568df1a256e6f081b61932d60.zip
Without having a clue about the actual platform, I hereby announce that the
Neo players' "select" button works as the "ON" button does on the Archos players. I thus #define BUTTON_ON to the select one, to make the code all over automaticly adjust to this fact. If the select key turns out to be a bad choice, it should be easy to change here to a more suitable key. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@4157 a1c6a512-1295-4272-9138-f99709370657
-rw-r--r--firmware/export/button.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/firmware/export/button.h b/firmware/export/button.h
index d6503d93b7..8500adaeb8 100644
--- a/firmware/export/button.h
+++ b/firmware/export/button.h
@@ -40,6 +40,9 @@ int button_get_w_tmo(int ticks);
40#define BUTTON_RIGHT 0x0002 40#define BUTTON_RIGHT 0x0002
41 41
42#define BUTTON_SELECT 0x0040 42#define BUTTON_SELECT 0x0040
43
44#define BUTTON_ON BUTTON_SELECT
45
43#define BUTTON_PROGRAM 0x0020 46#define BUTTON_PROGRAM 0x0020
44#define BUTTON_MENU 0x0004 47#define BUTTON_MENU 0x0004
45#define BUTTON_PLAY 0x0008 48#define BUTTON_PLAY 0x0008