Peter F. Patel-Schneider
39ec9337a2
rules: add recent diversion features to default list in rules UI
2022-04-15 09:13:46 -04:00
Peter F. Patel-Schneider
87e0ecacf3
ui: remove need for pggettext by changing name of field in rule editor
2022-04-11 13:20:42 -04:00
Vinícius
c53c77f427
ui: add support to Setting condition
2022-03-16 18:29:52 -04:00
Vinícius
588d7ae533
ui: add support to TestBytes
2022-03-10 21:04:28 -05:00
Peter F. Patel-Schneider
27752778ab
ui: fix bug in add and delete button actions
2022-02-28 09:04:12 -05:00
Peter F. Patel-Schneider
eedf4bfffb
rules: use local file for conversion from key names to keysyms
2022-02-27 08:21:52 -05:00
Peter F. Patel-Schneider
69046678ac
ui: default editable to True in show method
2022-02-16 21:14:52 -05:00
Peter F. Patel-Schneider
7a9f9972a6
receiver: fix contains for NamedInts and eliminate use of has_element
2022-01-24 14:03:17 -05:00
Vinícius
25523315ab
ui: fix tree row text when device contains options not in the full list
2022-01-24 11:12:04 -05:00
Vinícius
6f28a39a47
ui: fix choice field when device is connected
2022-01-24 11:12:04 -05:00
Vinícius
8be2ca110a
ui: avoid conflicts when settings with the same name have different labels for the same number
2022-01-24 11:12:04 -05:00
Vinícius
2b26c9dc92
ui: do not accept numerical value typed by user
2022-01-24 11:12:04 -05:00
Vinícius
49f2c6d8b9
ui: fix bug that made setting values not appear
2022-01-24 11:12:04 -05:00
Vinícius
bf8b861275
ui: don't show generic labels when specific ones are available for the same field
2022-01-24 11:12:04 -05:00
Vinícius
747d2e9c17
ui: show translated strings instead of internal names
2022-01-24 11:12:04 -05:00
Vinícius
d6c2b30760
ui: show keys supported by device even if they are not in the known universe
2022-01-24 11:12:04 -05:00
Vinícius
4d8b22f764
ui: replace typed text with key/value default display name
2022-01-24 11:12:04 -05:00
Vinícius
6dd980c541
ui: replace typed id with device display name
2022-01-24 11:12:04 -05:00
Vinícius
68e2b8ce6e
ui: add support to choices_extra
2022-01-24 11:12:04 -05:00
Vinícius
fa0ecc6c2c
ui: add blank field to toggle widgets
2022-01-24 11:12:04 -05:00
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