36281c4cc9
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 |
||
---|---|---|
.. | ||
iaudio | ||
iriver | ||
mpio | ||
ata-as-coldfire.S | ||
ata-target.h | ||
crt0.S | ||
debug-coldfire.c | ||
debug-target.h | ||
i2c-coldfire.c | ||
kernel-coldfire.c | ||
pcf50606-coldfire.c | ||
pcm-coldfire.c | ||
system-coldfire.c | ||
system-target.h | ||
timer-coldfire.c | ||
uart-coldfire.c | ||
wmcodec-coldfire.c |