Commit Graph

4 Commits

Author SHA1 Message Date
pixl
c1423e345e
Support HiresScroll gesture remapping
This commit allows HiresScroll (when target is true) to map the up and
down events to gestures that support it (i.e.AxisGesture/
IntervalGesture). This check is done by checking if wheelCompatibility()
is true.

This also allows hires scroll events to send low-res scroll events as
well.

TODO: Fix bug w/ Chromium (and some other programs?) where mapping
scroll wheel to REL_WHEEL_HI_RES will cause the program to skip events
occassionally. I have literally been stuck on this bug for a week and I
still don't know what causes it. evtest shows proper scroll events,
Firefox works fine, and libinput test-gui reports proper scrolling.
2020-08-21 16:05:20 -04:00
pixl
82ff2bdf38
Create features::UnsupportedFeature exception
Creates an abstraction layer for hidpp10/hidpp20/etc. UnsupportedFeature
exceptions.
2020-07-18 21:15:39 -04:00
pixl
02d361b541
Add ToggleHiresScroll action 2020-07-12 16:16:24 -04:00
pixl
055d136b09
Add HiresScroll device feature 2020-07-12 16:16:24 -04:00