mirror of https://github.com/koreader/koreader
You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
18c17829b7
* Input: Harden setCurrentMtSlotChecked The current implementation was assuming that the only case where we might be missing slot storage was for the *first* contact point, given that ABS_MT_SLOT is (if all goes well) guaranteed to be present and come first for every subsequent additional contact points. While this works just fine in practice, we can simplify and generalize the check by just checking if we've actually recorded the requested slot, even if it's not the first contact point. The hit check is possibly ever so slightly faster than the length computation, to boot. * Input: Handle snow_protocol devices with newer hardware revisions that do *NOT* need the snow quirks. If a sane input frame is detected, the snow quirks will be disabled at runtime, ensuring sane behavior. Given the extremely non-standard behavior of the snow quirks, this is fairly easy to detect, as a snow device will *never* emit EV_ABS:ABS_MT_TRACKING_ID:-1, so if we catch one, it's not snow ;). (We've had reports of this on a Clara HD, FWIW) |
9 months ago | |
---|---|---|
.. | ||
android | 9 months ago | |
cervantes | 10 months ago | |
dummy | ||
generic | 10 months ago | |
kindle | 9 months ago | |
kobo | 10 months ago | |
pocketbook | 9 months ago | |
remarkable | 1 year ago | |
sdl | 10 months ago | |
sony-prstux | 1 year ago | |
devicelistener.lua | 10 months ago | |
gesturedetector.lua | 10 months ago | |
input.lua | 9 months ago | |
key.lua | 2 years ago | |
sysfs_light.lua | 1 year ago | |
thirdparty.lua | ||
wakeupmgr.lua | 12 months ago |