diff options
author | Brandon Low <lostlogic@rockbox.org> | 2006-03-18 20:07:02 +0000 |
---|---|---|
committer | Brandon Low <lostlogic@rockbox.org> | 2006-03-18 20:07:02 +0000 |
commit | 0c620cc6813910d580b20f801535207a92f94bf5 (patch) | |
tree | ebcdf8574f05d951946445ebaf768c7c51478d48 /firmware/export | |
parent | 14229df245cb6b20bd8dc0e72c16d0dad799b7f6 (diff) | |
download | rockbox-0c620cc6813910d580b20f801535207a92f94bf5.tar.gz rockbox-0c620cc6813910d580b20f801535207a92f94bf5.zip |
Improve button driver performance on ipod a bit by moving around queue checks and properly detecting end-of-scroll. * Provide to an application which reads the button queue directly the data from the wheel (position and delta) for custom wheel driver (only sent for deltas large enough to cause a scroll event for now
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@9099 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'firmware/export')
-rw-r--r-- | firmware/export/button.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/firmware/export/button.h b/firmware/export/button.h index a1590ec353..be1efa7001 100644 --- a/firmware/export/button.h +++ b/firmware/export/button.h | |||
@@ -164,6 +164,8 @@ bool button_hold(void); | |||
164 | #define BUTTON_SELECT 0x0008 | 164 | #define BUTTON_SELECT 0x0008 |
165 | #define BUTTON_SCROLL_FWD 0x0010 | 165 | #define BUTTON_SCROLL_FWD 0x0010 |
166 | #define BUTTON_SCROLL_BACK 0x0020 | 166 | #define BUTTON_SCROLL_BACK 0x0020 |
167 | /* This is for later | ||
168 | #define BUTTON_SCROLL_TOUCH 0x0100*/ | ||
167 | 169 | ||
168 | #elif CONFIG_KEYPAD == IPOD_3G_PAD | 170 | #elif CONFIG_KEYPAD == IPOD_3G_PAD |
169 | 171 | ||