Commit Graph

22 Commits

Author SHA1 Message Date
max 1f02882971 Enable axis in virtual_input device only when needed 2020-12-21 11:50:04 +01:00
max f8eb77cad7 Register keys for keypress only when needed
there seems to be an issue that with too many registered events some window
manager cannot recognize the device as input device with systemd 247.

PixlOne#166
2020-12-14 20:51:47 +01:00
pixl ec8115634d Revert "Enable compatibility with libconfig older than v1.5" 2020-11-23 15:42:29 -05:00
Kevin Abraham 28a93b2df4 Enable compatibility with older versions of libconfig (such as the one shipped with RHEL/CentOS 7) 2020-11-22 12:12:29 -05:00
pixl 3b4b90dac0 Support NoPress gesture mode on none direction
Fix #122, makes logid.example.cfg accurate.
2020-09-05 18:12:56 -04:00
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