diff options
author | Björn Stenberg <bjorn@haxx.se> | 2004-09-20 08:10:43 +0000 |
---|---|---|
committer | Björn Stenberg <bjorn@haxx.se> | 2004-09-20 08:10:43 +0000 |
commit | 57945b125d7f467d222796920fb1b6cf4e90f802 (patch) | |
tree | 28ed7db21187e687fdac12d5e9bc4fefab1631ef /firmware/export/button.h | |
parent | 995d24ca2c6ff784a42cabaeef9f1329060d1642 (diff) | |
download | rockbox-57945b125d7f467d222796920fb1b6cf4e90f802.tar.gz rockbox-57945b125d7f467d222796920fb1b6cf4e90f802.zip |
Removed the Neo code. Nobody is interested in it.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5096 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'firmware/export/button.h')
-rw-r--r-- | firmware/export/button.h | 45 |
1 files changed, 0 insertions, 45 deletions
diff --git a/firmware/export/button.h b/firmware/export/button.h index 7ec484440f..50a9b1d8fd 100644 --- a/firmware/export/button.h +++ b/firmware/export/button.h | |||
@@ -36,49 +36,6 @@ void button_set_flip(bool flip); /* turn 180 degrees */ | |||
36 | 36 | ||
37 | #define BUTTON_NONE 0x0000 | 37 | #define BUTTON_NONE 0x0000 |
38 | 38 | ||
39 | #ifdef HAVE_NEO_KEYPAD | ||
40 | /* neo button codes */ | ||
41 | #define BUTTON_UP 0x0080 | ||
42 | #define BUTTON_DOWN 0x0010 | ||
43 | #define BUTTON_LEFT 0x0001 | ||
44 | #define BUTTON_RIGHT 0x0002 | ||
45 | |||
46 | #define BUTTON_SELECT 0x0040 | ||
47 | |||
48 | #define BUTTON_ON BUTTON_SELECT | ||
49 | |||
50 | #define BUTTON_PROGRAM 0x0020 | ||
51 | #define BUTTON_MENU 0x0004 | ||
52 | #define BUTTON_PLAY 0x0008 | ||
53 | #define BUTTON_STOP 0x0100 | ||
54 | |||
55 | #define BUTTON_IR 0x2000 | ||
56 | #define BUTTON_REPEAT 0x4000 | ||
57 | #define BUTTON_REL 0x8000 | ||
58 | |||
59 | #define BUTTON_FLAG_MASK 0xF000 | ||
60 | #define BUTTON_MASK 0x0FFF | ||
61 | #define BUTTON_ALL BUTTON_MASK | ||
62 | #define BUTTON_ALL_FLAGS BUTTON_FLAG_MASK | ||
63 | |||
64 | #define NEO_IR_BUTTON_POWER 0x0001 | ||
65 | #define NEO_IR_BUTTON_SETTING 0x0002 | ||
66 | #define NEO_IR_BUTTON_REWIND 0x0004 | ||
67 | #define NEO_IR_BUTTON_FFORWARD 0x0008 | ||
68 | #define NEO_IR_BUTTON_PLAY 0x0010 | ||
69 | #define NEO_IR_BUTTON_VOLUP 0x0020 | ||
70 | #define NEO_IR_BUTTON_VOLDN 0x0040 | ||
71 | #define NEO_IR_BUTTON_BROWSE 0x0080 | ||
72 | #define NEO_IR_BUTTON_EQ 0x0100 | ||
73 | #define NEO_IR_BUTTON_MUTE 0x0200 | ||
74 | #define NEO_IR_BUTTON_PROGRAM 0x0400 | ||
75 | #define NEO_IR_BUTTON_STOP 0x0800 | ||
76 | #define NEO_IR_BUTTON_NONE 0x0000 | ||
77 | |||
78 | #define NEO_IR_BUTTON_REPEAT 0x1000 | ||
79 | |||
80 | #else | ||
81 | |||
82 | /* Shared button codes */ | 39 | /* Shared button codes */ |
83 | #define BUTTON_LEFT 0x0040 | 40 | #define BUTTON_LEFT 0x0040 |
84 | #define BUTTON_RIGHT 0x0080 | 41 | #define BUTTON_RIGHT 0x0080 |
@@ -130,7 +87,5 @@ void button_set_flip(bool flip); /* turn 180 degrees */ | |||
130 | 87 | ||
131 | #endif /* HAVE_RECORDER/PLAYER/ONDIO_KEYPAD */ | 88 | #endif /* HAVE_RECORDER/PLAYER/ONDIO_KEYPAD */ |
132 | 89 | ||
133 | #endif /* HAVE_NEO_KEYPAD */ | ||
134 | |||
135 | #endif /* _BUTTON_H_ */ | 90 | #endif /* _BUTTON_H_ */ |
136 | 91 | ||