rockbox/firmware/target/coldfire/mpio/hd300
Marcin Bukat 36281c4cc9 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
2012-01-25 09:07:52 +01:00
..
button-hd300.c MPIO HD300: Fix scrollstip issue at driver level. 2012-01-25 09:07:52 +01:00
button-target.h button-target.h : move prototypes to button.h 2012-01-08 00:07:19 +00:00
lcd-as-hd300.S MPIO HD300 - initial commit 2010-11-26 23:28:08 +00:00
lcd-hd300.c MPIO HD300: vastly improve sound quality. This unfortunately means reverting r28797 which introduced poping noise 2011-11-05 14:01:22 +00:00
powermgmt-hd300.c Rework powermgmt to enable code re-use on appliation and sims. 2012-01-03 23:44:38 +00:00