summaryrefslogtreecommitdiff
path: root/firmware/target/arm/sandisk/sansa-e200
diff options
context:
space:
mode:
authorAndree Buschmann <AndreeBuschmann@t-online.de>2008-05-12 08:27:53 +0000
committerAndree Buschmann <AndreeBuschmann@t-online.de>2008-05-12 08:27:53 +0000
commit0b814052258aa51174f6113f2e3617b4de1e61b1 (patch)
tree8a99a1414c39377f15e8a9c7ab1711f8eaacc619 /firmware/target/arm/sandisk/sansa-e200
parent5c3d5916da7aa1bb14cd224c80523a46d57d5f3f (diff)
Fix for FS#5162. Being able to read scrollwheel action via button_read_device() for iPod's and e200.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@17470 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'firmware/target/arm/sandisk/sansa-e200')
-rw-r--r--firmware/target/arm/sandisk/sansa-e200/button-e200.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/firmware/target/arm/sandisk/sansa-e200/button-e200.c b/firmware/target/arm/sandisk/sansa-e200/button-e200.c
index 117b993763..ad0531d835 100644
--- a/firmware/target/arm/sandisk/sansa-e200/button-e200.c
+++ b/firmware/target/arm/sandisk/sansa-e200/button-e200.c
@@ -131,6 +131,9 @@ void clickwheel_int(void)
btn = BUTTON_SCROLL_FWD;
else if (old_wheel_value == wheel_tbl[1][wheel_value >> 6])
btn = BUTTON_SCROLL_BACK;
+
+ /* be able to read wheel action via button_read_device() */
+ int_btn |= btn;
if (btn != BUTTON_NONE)
{