Matthias Hagmann
|
e92f1a8a0b
|
Automatically upgrade strings to f-string
Used flynt to convert strings to f-strings, where safely possible.
Usage:
flynt .
Related #2372
|
2024-03-13 11:02:50 -04:00 |
Matthias Hagmann
|
7ef3059b69
|
clean up: Remove editor specific marks
Related #2273
|
2024-02-29 10:10:46 -05:00 |
Peter F. Patel-Schneider
|
67be689866
|
device: reorder code in settings
|
2024-02-25 07:23:03 -05:00 |
Matthias Hagmann
|
eb937fcc3a
|
Manually fix linter issues
Related #2295
|
2024-02-20 15:41:10 -05:00 |
Matthias Hagmann
|
7774569971
|
Apply ruff format
Run ruff auto formatting using:
ruff format .
Related #2295
|
2024-02-20 15:41:10 -05:00 |
Peter F. Patel-Schneider
|
ed248c62b9
|
device: add callback to call when changing a setting
|
2024-02-20 06:19:23 -05:00 |
Matthias Hagmann
|
5f487dd3b2
|
logitech_receiver: Move hidpp20 constants into new module
Related #1097
|
2024-02-20 05:58:33 -05:00 |
MattHag
|
87658fb189
|
logging: Simplify logger instantiation
* logging: Simplify logger instantiation
Relates #2254
* logging: Remove aliases
Relates #2254
* logging: Replace deprecated warn with warning
Related #2254
* logging: Fix mistake
Related #2257
|
2024-02-10 13:55:27 -05:00 |
Peter F. Patel-Schneider
|
23517048d4
|
device: clean up data for LED effects
|
2024-02-09 08:36:36 -05:00 |
Peter F. Patel-Schneider
|
7c441cc652
|
ui: better startup behavior for LED effect settings
|
2024-02-09 08:36:36 -05:00 |
Peter F. Patel-Schneider
|
73d091c86f
|
ui: add UI for LED Zone control
|
2024-02-09 08:36:36 -05:00 |
Peter F. Patel-Schneider
|
3328a6085f
|
device: add settings for LED Zone control
|
2024-02-09 08:36:36 -05:00 |
Peter F. Patel-Schneider
|
72c5860a1e
|
device: support backlight levels and duration
|
2024-02-06 12:49:08 -05:00 |
Peter F. Patel-Schneider
|
79de531858
|
settings: read and check before write for range settings
|
2023-01-09 13:22:45 -05:00 |
Peter F. Patel-Schneider
|
99f9c8762e
|
settings: only record changes of scroll wheel ratchet
|
2022-12-09 06:59:37 -05:00 |
ejsc1
|
5656f90cdb
|
misc: update yapf version
* misc: update yapf version v2
* Update .pre-commit-config.yaml
Co-authored-by: Peter F. Patel-Schneider <pfpschneider@gmail.com>
|
2022-11-26 22:37:32 -05:00 |
Peter F. Patel-Schneider
|
67c1d7e778
|
settings: don't add non-existant key in raw xy processing
|
2022-10-13 16:00:15 -04:00 |
Peter F. Patel-Schneider
|
55cc8ed5dc
|
settings: add optional save argument to write_key_value methods
|
2022-10-06 22:00:38 -04:00 |
Peter F. Patel-Schneider
|
5ed4c05db8
|
device: add conditional delay to apply all to get around race with Linux driver
|
2022-09-15 09:51:24 -04:00 |
Peter F. Patel-Schneider
|
cacf94b6f7
|
settings: allow multiple keys for mouse gestures and dpi sliding
|
2022-07-23 06:44:57 -04:00 |
Peter F. Patel-Schneider
|
c741b372e1
|
settings: remove unused class variables
|
2022-06-29 09:56:14 -04:00 |
Peter F. Patel-Schneider
|
5dc9be0a04
|
settings: differentiate debug messages for different setting types
|
2022-06-21 18:39:37 -04:00 |
Peter F. Patel-Schneider
|
777a7138c1
|
settings: add packed ranges setting
|
2022-06-21 18:39:37 -04:00 |
Peter F. Patel-Schneider
|
f1e2a0c449
|
receiver: use built-ins for conversions between int and byte string
|
2022-06-21 18:39:37 -04:00 |
Peter F. Patel-Schneider
|
85bcfe7310
|
device: fix bug in feature lookup
|
2022-04-29 07:24:26 -04:00 |
Peter F. Patel-Schneider
|
fb74e3b657
|
settings: store None in persister for non-persisting settings
|
2022-04-26 09:03:20 -04:00 |
Peter F. Patel-Schneider
|
3ca97cccd1
|
settings: fix determination of whether to read before writing boolean setting
|
2022-04-15 09:21:08 -04:00 |
Kian-Meng Ang
|
15b92a0f40
|
misc: Fix typos
|
2022-04-12 17:18:11 -04:00 |
Peter F. Patel-Schneider
|
bb20631a27
|
misc: remove support for Python 2 unicode
|
2022-04-11 13:20:42 -04:00 |
Peter F. Patel-Schneider
|
d90ee945ab
|
device: use int instead of str for setting keys
|
2022-04-10 16:35:08 -04:00 |
Peter F. Patel-Schneider
|
d115ade2ea
|
setting: add setting to divert gestures
|
2022-03-16 20:22:25 -04:00 |
Peter F. Patel-Schneider
|
d646e18543
|
settings: add setting for PERSISTENT_REMAPPABLE_ACTION
|
2022-03-12 12:20:38 -05:00 |
Peter F. Patel-Schneider
|
17a7b0689e
|
settings: add BACKLIGHT3 setting template
|
2022-03-09 09:13:24 -05:00 |
Peter F. Patel-Schneider
|
00176a1df8
|
rules: add rule condition for checking device settings
|
2022-02-27 08:24:05 -05:00 |
Peter F. Patel-Schneider
|
f938d3430e
|
cli: nicer output of settings in solaar show and solaar config
|
2022-01-24 21:12:55 -05:00 |
Peter F. Patel-Schneider
|
fed9a26cb6
|
settings: fix bug in read method of action settings rw
|
2022-01-24 19:21:46 -05:00 |
Peter F. Patel-Schneider
|
13e4861043
|
settings: handle missing divert-setting in action RW
|
2022-01-24 14:03:17 -05:00 |
Vinícius
|
0bce293017
|
ui: add support to multiple range in Set action
|
2022-01-24 11:12:04 -05:00 |
Vinícius
|
5c96d2d307
|
logitech_receiver: 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
|
be4632f684
|
settings: fix type of choices
|
2022-01-24 11:12:04 -05:00 |
Peter F. Patel-Schneider
|
11fa025f1d
|
settings: use classes for settings
|
2022-01-22 08:55:54 -05:00 |
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 |