Vinícius
de5878d34e
settings: also accept "Toggle" to be consistent with CLI
2022-01-16 13:38:56 -05:00
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
791f19269d
settings: add write_prefix_bytes argument to Boolean Validator
2021-12-06 12:22:01 -05:00
Peter F. Patel-Schneider
4e8fb93b31
device: catch errors when applying settings
2021-11-11 11:03:30 -05: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
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
Peter F. Patel-Schneider
f1d896ded3
settings: use new setting method for MOUSE GESTURE setting
2021-10-22 15:51:55 -04:00
Peter F. Patel-Schneider
2ca0bd9ac3
settings: use new setting method for DPI SLIDING setting
2021-10-22 15:51:55 -04:00
Peter F. Patel-Schneider
14c1eac79c
settings: add setting for DPI CHANGE button to switch Sensitivity
2021-10-22 15:51:55 -04:00
Peter F. Patel-Schneider
27f6d6c76b
settings: don't use time_ns so as not to require Python 3.7
2021-09-23 13:13:18 -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
39a5350f30
settings: add binary read prefix to handle fancy fn-swap setting
2021-07-20 09:59:37 -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
7add22e861
settings: don't halt when trying to write invalid map choice
2021-04-17 10:32:24 -04:00
Peter F. Patel-Schneider
75fec689a0
settings: change name of App Switch Button
2021-04-17 10:32:24 -04:00
Peter F. Patel-Schneider
5d885f76e7
settings: show potential triggering keys for mouse gesture setting
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
Peter F. Patel-Schneider
b34061c766
ui: add ability to ignore a Solaar setting
2021-04-12 07:39:35 -04:00
Peter F. Patel-Schneider
04d79810d4
cli: set keyed settings with config
2021-02-18 11:02:57 -05:00
Peter F. Patel-Schneider
0427e5607e
settings: correctly handle diversions when key has other flags set
2020-11-27 17:38:38 -05:00
Peter F. Patel-Schneider
646151ae61
receiver: reduce unnecessary writes of config file
2020-11-21 12:34:13 -05:00
Peter F. Patel-Schneider
f75c9845d2
settings: add setting for diverting keys
2020-11-13 08:46:04 -05:00
Vinícius
c8fe87ee2d
receiver: implementation of GESTURE 2 params; improved UI for multiple toggle
2020-09-01 18:38:00 -04:00
Vinícius
4a5c0ea523
receiver: initial implementation of boolean GESTURE 2 settings
2020-09-01 18:38:00 -04:00
Peter F. Patel-Schneider
718c2d4039
receiver: simplify settings interface
2020-08-28 08:41:14 -04:00
Peter F. Patel-Schneider
3e4c09380a
receiver: be extra cautious when writing key-value pairs for settings
2020-08-27 05:22:03 -04:00
Peter F. Patel-Schneider
9d0fcea02e
receiver: simpler interface for settings
2020-08-13 16:38:11 -04:00
Peter F. Patel-Schneider
bc6b1de472
gui: correctly show initial value for choice settings
2020-07-16 15:06:08 -04:00
Peter F. Patel-Schneider
90cc629f26
receiver: don't write non-persisted settings when applying them
2020-07-16 15:06:08 -04:00
Peter F. Patel-Schneider
1c2b347512
receiver: allow for settings that do not persist
2020-07-12 18:04:04 -04:00
Peter F. Patel-Schneider
63872b9146
receiver: add settings option to not wait for reply when writing to device
2020-07-12 18:04:04 -04:00
Peter F. Patel-Schneider
c9c472e391
receiver: add setting for MULTIPLATFORM and DUALPLATFORM feature
2020-07-12 17:38:00 -04:00
Filipe Laíns
27c90fa736
yapf: adjust style to not indent closing brackets
...
Signed-off-by: Filipe Laíns <lains@archlinux.org>
2020-07-07 15:11:15 +01:00
Filipe Laíns
8e89aa0038
yapf: set max line lenght to 127
...
Signed-off-by: Filipe Laíns <lains@archlinux.org>
2020-07-07 15:11:15 +01:00
Filipe Laíns
627185079f
flake8: initial fix
...
Signed-off-by: Filipe Laíns <lains@archlinux.org>
2020-07-07 15:11:15 +01:00
Filipe Laíns
33521558ed
pre-commit: initial fix
...
Signed-off-by: Filipe Laíns <lains@archlinux.org>
2020-07-07 15:11:15 +01:00
Filipe Laíns
e6369e0c3c
isort: intial import fix
...
Signed-off-by: Filipe Laíns <lains@archlinux.org>
2020-07-07 15:11:15 +01:00
Filipe Laíns
72a8d311bc
yapf: change code style to yapf
...
Signed-off-by: Filipe Laíns <lains@archlinux.org>
2020-07-07 15:11:15 +01:00
Peter F. Patel-Schneider
0836766bfb
receiver: fix k375s Fn inversion
2020-06-26 05:07:47 -04:00
Vinícius
ef54a750dc
receiver: implement KEYBOARD_DISABLE_KEYS feature
...
(the UI needs some improvement)
2020-06-20 13:30:32 -04:00
Peter F. Patel-Schneider
68b4ca7abf
receiver: make key settings structure uniform
2020-06-20 05:56:00 -04:00
Peter F. Patel-Schneider
9beb13a305
receiver: add key reprogramming setting
2020-06-16 15:21:10 -04:00
Peter F. Patel-Schneider
bd0f9ca7d7
receiver: add feature to Setting class
2020-06-08 16:59:38 +01:00
Peter F. Patel-Schneider
e3aacdbf05
receiver: don't check that device kind matches feature kind
2020-04-20 15:20:03 +01:00
Peter F. Patel-Schneider
56762b5494
device: move persister from Setting to _DeviceDescriptor to get around problem with settings discovered after startup
2020-01-21 03:23:25 +00:00
Andreas Schneider
a868b477e1
Fix reading and storing DPI in config settings
...
Fixes #328
Fixes #356
Fixes #545
2019-08-20 09:24:22 +02:00
Mattias Jernberg
dd8018a4d5
Prepare for allowing multiple device kinds in settings
2018-08-13 18:44:16 +02:00
Javier Torres
f1fad2d16b
Add range validator
2016-06-09 19:46:03 +02:00
Peter Wu
2041007b38
Merge branch 'features'
...
Automatically detect FN swap feature and DPI adjustment on some newer
devices. DPI adjustment partially addresses support for the MX Master
(#208 ), Smart shift is still missing.
2016-04-17 12:43:15 +02:00