Peter F. Patel-Schneider
8a87b9b013
rules: add Solaar rules command to set settings
...
testing
2022-01-13 18:23:12 -05:00
Peter F. Patel-Schneider
2ee04d89fd
rules: fix crash in process conditions under non-X11
2021-12-24 21:04:43 -05:00
Łukasz Woźniak
d33b407ba8
rules: don't select windows with no PID when looking for focus window
...
\#1322
2021-11-15 08:45:31 -05:00
Hugo Osvaldo Barrera
89d7490bf1
Remove redundant value
...
Opening read-only is the default.
2021-10-30 16:49:41 -04:00
Hugo Osvaldo Barrera
fdd6229179
Avoid unnecessary list allocation
2021-10-30 16:49:41 -04:00
Hugo Osvaldo Barrera
93c4ebe758
Remove obsolete unicode prefix
2021-10-30 16:49:41 -04:00
Hugo Osvaldo Barrera
df83fd655c
Stop declaring `object` as superclass
...
This syntax was only required on Python 2 and has no effect on Python 3.
2021-10-30 16:49:41 -04:00
Hugo Osvaldo Barrera
b96d16672b
Drop obsolete encoding declaration
...
This was only parsed in Python 2.
Python 3 only supports UTF-8 for source files, and that's what it uses.
2021-10-30 16:49:41 -04:00
kkrentz
3ef5e63cd4
Fix "'int' object is not subscriptable" on G613
2021-08-30 20:23:10 -04:00
Peter F. Patel-Schneider
cdc7a27c9e
rules: add rule condition for process under mouse
2021-07-22 10:46:31 -04:00
Peter F. Patel-Schneider
50392da360
rules: add checks for empty process name and class
2021-07-15 10:16:16 -04:00
Karthik Nishanth
85a86ec3c5
diversion: implement pressed and released action on Key condition ( #1189 )
...
- Track `key_up` key in addition to `key_down`
- Support `pressed` or `released` action in `Key` condition
- Add radio button to KeyUI to represent `pressed` or `released`
2021-07-12 15:51:57 -04:00
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