Commit Graph

17 Commits

Author SHA1 Message Date
pixl
41903992ef
Fix ThresholdGesture
Style fixes, allow to compile, add copyright notice.
2020-08-21 16:57:40 -04:00
pixl
e570e7b91e
Merge pull request #115 from michtere/master
Add ThresholdGesture.
2020-08-21 16:54:07 -04:00
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
Michail Terezakis
3561b1f487 Add ThresholdGesture. 2020-08-16 19:57:31 +03:00
pixl
0928b39e03
Add ChangeHostAction support 2020-07-15 17:43:24 -04:00
pixl
b00b4645e4
Add ChangeDPI action 2020-07-12 16:16:25 -04:00
pixl
949a1ee283
Add CycleDPI action 2020-07-12 16:16:24 -04:00
pixl
21b7455919
Add NullAction support 2020-07-12 16:16:24 -04:00
pixl
4117d71c9d
Add NoPress gesture mode 2020-07-12 16:16:24 -04:00
pixl
10bb10e5c5
Add Axis gesture 2020-07-12 16:16:24 -04:00
pixl
ecfd03fd21
Add OnInterval/OnFewPixels gesture 2020-07-12 16:16:24 -04:00
pixl
0fbeb1e3c9
Add Gesture support
Only supports OnRelease right now. Also, some bugs were spotted while
writing this:

 - Sometimes deadlocks on startup (cause unknown)
 - Sometimes valid CIDs will be unknown (bug may have been fixed?)
2020-07-12 16:16:24 -04:00
pixl
41049deb35
Fix compiler warnings 2020-07-12 16:16:24 -04:00
pixl
1f3fa53721
Add workqueue system 2020-07-12 16:16:24 -04:00
pixl
02d361b541
Add ToggleHiresScroll action 2020-07-12 16:16:24 -04:00
pixl
77f4240ec7
Add ToggleSmartShift action 2020-07-12 16:16:24 -04:00
pixl
5bf5dc75b5
Implement RemapButton feature
Many changes were made here, too many to list here.
2020-07-12 16:16:22 -04:00