diff options
author | Marcin Bukat <marcin.bukat@gmail.com> | 2012-01-25 09:07:52 +0100 |
---|---|---|
committer | Marcin Bukat <marcin.bukat@gmail.com> | 2012-01-25 09:07:52 +0100 |
commit | 36281c4cc9d83203753bb55963fafb2487c2d2de (patch) | |
tree | b77c1d421cb32ac7eee424339005e8d983427754 /tools | |
parent | 76440aa214765037139aa9d74c4450f4045f38e1 (diff) | |
download | rockbox-36281c4cc9d83203753bb55963fafb2487c2d2de.tar.gz rockbox-36281c4cc9d83203753bb55963fafb2487c2d2de.zip |
MPIO HD300: Fix scrollstip issue at driver level.
Scrollstrip (as well as scrollwheel on ipods/sansas) works like
quadrature encoder. The states of input lines are tracked by the
gpio ISR and when the sequence is correct, appropriate button
event is pushed to the button queue directly. The downside of
this implementation is that scrollstrip doesn't emit _REL
events which has some weird consequences. For the scrollwheels
some hack have been crafted in action system to accomodate for
this. I don't like this approach. IMO the correct fix is to
properly emit _REL event when the user stops interacting with
the device or reverses the direction of the move. This patch
implements timeout which forces to emit _REL when expired.
Change-Id: I588ac5810dd2ab00c68935d23a62979cb1c2a912
Diffstat (limited to 'tools')
0 files changed, 0 insertions, 0 deletions