Peter F. Patel-Schneider
6290c84efd
rules: upgrade rule execution debug message to info message
2021-07-04 22:10:45 -04:00
Peter F. Patel-Schneider
e15ce68498
rules: process old mouse movement tests as MouseGesture conditions
2021-07-04 09:38:29 -04:00
ApeironTsuka
011f3f556b
rules: allow sequence of mouse moves as mouse gestures
...
* Add more robust mouse gesture support
- Remove existing mouse-* Test types
- Add new 'Mouse Gesture' Condition
- Implement Rule Editor UI for it
- Add support for diverted buttons
- Added diagonal mouse gesture directions
Allows you to chain multiple movements/buttons (for instance, moving the mouse up and then left) together into a single mappable gesture.
* Update docs
* Cleanup
Fix inconsistent indenting
Fix possible overwriting of built-in
Fix 'Mouse Gesture' Condition rule not starting with an initial Action field
* Make flake8 happy
* yapf
* Document no-op and make it more apparent
* Make changes to Mouse Gesture UI suggested/submitted by viniciusbm.
Co-authored-by: Apeiron <apeiron@none>
Co-authored-by: Peter F. Patel-Schneider <pfpschneider@gmail.com>
2021-07-04 08:52:38 -04:00
Peter F. Patel-Schneider
98b5804a21
rules: turn several log messages from INFO to DEBUG
2021-04-20 07:58:41 -04:00
Peter F. Patel-Schneider
a734a35b7e
rules: add a mouse-noop test for mouse gesture with little movement
2021-04-17 10:32:24 -04:00
Peter F. Patel-Schneider
f7488f67c1
settings: add mouse gesture handling
2021-04-13 09:26:24 -04:00
SiDevesh
d3a18bb85f
rules: match WM_CLASS also for process matching in rules
2021-04-08 15:01:50 -04:00
Equidamoid
8fccd84345
Log real exception when can't use Xorg API ( #1066 )
...
* fix: log real exception when can't use Xorg API
* chore: make linter happy
2021-02-08 18:55:10 -05:00
Peter F. Patel-Schneider
a688bfd9ec
settings: add setting to divert G keys and handle in rules
2020-12-13 22:24:08 -05:00
Peter F. Patel-Schneider
69f889e33f
rules: only activate rules if X11 is running
2020-12-02 10:10:47 -05:00
Peter F. Patel-Schneider
7d0402a97f
rules: only use X11 code when X11 is available
2020-11-28 09:41:59 -05:00
Peter F. Patel-Schneider
419a7722ad
rules: make rule processing conditional on X11 being available
2020-11-27 10:48:16 -05:00
Peter F. Patel-Schneider
a99a5a544e
rules: fix syntax in MouseClick
2020-11-27 10:12:21 -05:00
Peter F. Patel-Schneider
244d48d245
rules: remove use of pynput
2020-11-27 10:12:21 -05:00
Vinícius
0b5c263799
receiver: fix and improve diversion load/save functions
2020-11-21 12:23:41 -05:00
Vinícius
1379da70a8
ui: add GUI for diversion rules (draft)
2020-11-21 12:23:41 -05:00
Vinícius
381371c899
receiver: add MouseClick diversion rule
2020-11-14 10:38:01 -05:00
Peter F. Patel-Schneider
be590c154a
docs: add documentation for rules processing and change name of rules file
2020-11-13 08:46:04 -05:00
Peter F. Patel-Schneider
30e4324906
receiver: associate source file with top-level rules
2020-11-13 08:46:04 -05:00
Peter F. Patel-Schneider
545db1f641
receiver: add named tests for hires and lowres wheels
2020-11-13 08:46:04 -05:00
Peter F. Patel-Schneider
f3a276d7a3
receiver: add rule-based processing of diverted features
2020-11-13 08:46:04 -05:00