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 |
||
---|---|---|
.. | ||
hd200 | ||
hd300 | ||
adc-mpio.c | ||
adc-target.h | ||
app.lds | ||
ata-mpio.c | ||
ata-target.h | ||
audio-mpio.c | ||
backlight-mpio.c | ||
backlight-target.h | ||
boot.lds | ||
boot.lds.flash | ||
boot.lds.iram | ||
fmradio_i2c-mpio.c | ||
power-mpio.c | ||
system-mpio.c | ||
usb-mpio.c |