Vinícius
573cb6e985
ui: fix - typed text was not recognised as valid
2022-01-24 11:12:04 -05:00
Vinícius
2d2d3e3bc6
ui: make key and value fields case-insensitive
2022-01-24 11:12:04 -05:00
Vinícius
d80e34963b
ui: make device field case-insensitive
2022-01-24 11:12:04 -05:00
Vinícius
0bce293017
ui: add support to multiple range in Set action
2022-01-24 11:12:04 -05:00
Vinícius
b9a23f133e
ui: hide unsupported settings/keys/values
2022-01-24 11:12:04 -05:00
Vinícius
a4e30a7190
ui: treat '?' identifier as unavailable
2022-01-24 11:12:04 -05:00
Vinícius
aff80a7572
ui: fix error when key is set to None
2022-01-24 11:12:04 -05:00
Vinícius
9737a85c5a
ui: fix errors when updating devices before widgets are filled
2022-01-24 11:12:04 -05:00
Vinícius
cc3ec6d987
ui: clear keys and values after changing setting
2022-01-24 11:12:04 -05:00
Vinícius
4c4f8de040
ui: change Set rule editor layout
2022-01-24 11:12:04 -05:00
Vinícius
438bb9e034
ui: show a different icon if the user types an unknown 8-character hex string
2022-01-24 11:12:04 -05:00
Vinícius
29cd1109b1
ui: don't trigger widget updates when updating devices
2022-01-24 11:12:04 -05:00
Vinícius
6022c37325
ui: add device selector to Set rule editor
2022-01-24 11:12:04 -05:00
Vinícius
2eb6864cfb
ui: sort by number if all values are numeric
2022-01-24 11:12:04 -05:00
Vinícius
29ff5e5924
logitech_receiver: add UnsortedNamedInts
2022-01-24 11:12:04 -05:00
Vinícius
b36b070feb
ui: make Set rule editor accept settings with the same name
2022-01-24 11:12:04 -05:00
Vinícius
8c32c2e63c
ui: add new Set rules to rule editor (partial support)
2022-01-24 11:12:04 -05:00
Hugo Osvaldo Barrera
22bf4fafff
Drop unnecessary __future__ imports
...
These are all active by default on all recent Python versions.
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
Vinícius
4b97ebd649
po/i18n: update pt_BR translation
2021-08-20 18:44:04 -04:00
Peter F. Patel-Schneider
a1874c572b
i18n: mark more strings as translatable
2021-08-06 13:41:22 -04:00
Peter F. Patel-Schneider
cdc7a27c9e
rules: add rule condition for process under mouse
2021-07-22 10:46:31 -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
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
55ed173c39
ui: replace deprecated GTK stock values
2021-04-09 07:28:23 -04: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
244d48d245
rules: remove use of pynput
2020-11-27 10:12:21 -05:00
Vinícius
52109ade91
ui: ignore Ctrl+Delete shortcut if root is selected
2020-11-21 12:23:41 -05:00
Vinícius
daafe5ebca
ui: don't offer to delete/cut root element and don't offer to paste non-Rule at the top level
2020-11-21 12:23:41 -05:00
Vinícius
8be0e21ac7
ui: delete method that is no longer used
2020-11-21 12:23:41 -05:00
Vinícius
9c04bfad92
ui: fixed unnecessary dialogue when window is closed after discarding changes
2020-11-21 12:23:41 -05:00
Vinícius
4025b83dfd
ui: add icons to rule editor buttons and implement Ctrl+S shortcut
2020-11-21 12:23:41 -05:00
Vinícius
bc51117f59
ui: use readable names on the left column of rule editor
2020-11-21 12:23:41 -05:00
Vinícius
a8819b06c8
ui: make KeyPress entry larger (relative to window size)
2020-11-21 12:23:41 -05:00
Vinícius
6f973cdc27
ui: fix bug that prevented copying from a built-in rule for the first time
2020-11-21 12:23:41 -05:00
Vinícius
b548d05cad
ui: change diversion editor window title and button label
2020-11-21 12:23:41 -05:00
Vinícius
ef3d3e5290
ui: fix feature entry bug when feature is not on the list
2020-11-21 12:23:41 -05:00
Vinícius
487e1a3ded
ui: show Feature completion matches for all features
2020-11-21 12:23:41 -05:00
Vinícius
4206d370f1
ui: add delete button for every Execute argument
2020-11-21 12:23:41 -05:00
Vinícius
29ccd55210
ui: improve validation of FeatureUI and KeyUI diversion rule components
2020-11-21 12:23:41 -05:00
Vinícius
b399380445
ui: diversion rule editor - move save and discard buttons to the top
2020-11-21 12:23:41 -05:00
Vinícius
1d68ef858e
ui: make rule editing buttons larger and add delete buttons for KeyPress.
2020-11-21 12:23:41 -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