Peter F. Patel-Schneider
6f633efac5
ui: implement setting_changed callback and pass in to new devices and receivers
2024-02-20 06:19:23 -05:00
Peter F. Patel-Schneider
ed248c62b9
device: add callback to call when changing a setting
2024-02-20 06:19:23 -05:00
Peter F. Patel-Schneider
476f41f8ae
logitech_receiver: style fixes
2024-02-20 05:58:33 -05:00
Matthias Hagmann
5f487dd3b2
logitech_receiver: Move hidpp20 constants into new module
...
Related #1097
2024-02-20 05:58:33 -05:00
Matthias Hagmann
2fcab65486
logitech_receiver: Move hidpp10 constants into new module
...
Related #1097
2024-02-20 05:58:33 -05:00
Matthias Hagmann
e8fdbeee8e
logitech_receiver: Move exceptions into own module
...
Related #1097
2024-02-20 05:58:33 -05:00
Peter F. Patel-Schneider
fa9494435b
device: streamline status code
2024-02-19 09:18:08 -05:00
Peter F. Patel-Schneider
20a76fb4d3
device: improve features array
2024-02-18 08:21:09 -05:00
Peter F. Patel-Schneider
12de240949
device: improve imports in logitech_receiver
...
device: move imports of ui modules to beginning of files
logitech_receiver: remove imports from __init__.py
2024-02-18 06:21:35 -05:00
Peter F. Patel-Schneider
d1c899d6da
solaar: improve imports and guard Gtk, etc imports with correct version
...
solaar: move imports to top of files
solaar: move more imports to top of files
solaar: guard Gtk, etc imports with correct version
2024-02-18 06:21:35 -05:00
Peter F. Patel-Schneider
31d795fcb8
device: improve imports in logitech_receiver
...
device: move some imports to top of modules
device: break up imports loop with device descriptors
device: break up imports loop by moving a function from notifications.py to setting_templates.py
device: break import loop between device.py and diversion.py by using device to access method
2024-02-18 06:21:35 -05:00
Peter F. Patel-Schneider
0f0de28e94
device: correctly handle profile button with no action
2024-02-10 14:45:00 -05:00
Peter F. Patel-Schneider
468fad1358
ui: refactor code to record change to setting
2024-02-10 14:45:00 -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
8b1463c8f4
ui: update label and tooltip for divert-gkeys setting
2024-02-10 09:15:27 -05:00
Peter F. Patel-Schneider
26e0153fce
ui: update label and tooltip for divert-gkeys setting
2024-02-10 09:15:27 -05:00
Peter F. Patel-Schneider
c8fc6990b5
device: remove dependency on webcolors
2024-02-09 13:45:41 -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
15e14c2d48
device: add structures for LED control
2024-02-09 08:36:36 -05:00
Peter F. Patel-Schneider
532077d239
ui: add setting to change LED control between firmware and software
2024-02-09 08:36:36 -05:00
Peter F. Patel-Schneider
246f3cf798
device: handle v4 of profiles data
2024-02-07 18:48:22 -05:00
Peter F. Patel-Schneider
599a274410
device: better handing of unknown values in profiles
2024-02-07 18:48:22 -05:00
Peter F. Patel-Schneider
37383442f4
device: add version and device name to profiles
2024-02-07 18:48:22 -05:00
Peter F. Patel-Schneider
88f549f66c
device: read profiles from ROM if none in Flash
2024-02-07 18:48:22 -05:00
Peter F. Patel-Schneider
1fcff028fe
device: decipher LED control info in profiles
2024-02-07 18:48:22 -05:00
Peter F. Patel-Schneider
0548bde44f
ui: handle onboard profiles notifications
2024-02-07 18:48:22 -05:00
Peter F. Patel-Schneider
42c65e1e4d
ui: upgrade onboard profiles setting to allow profile selection
2024-02-07 18:48:22 -05:00
Peter F. Patel-Schneider
fb30f4ee41
device: support onboard profiles
2024-02-07 18:48:22 -05:00
Peter F. Patel-Schneider
fbad827d57
device: remove extra debugging for backlight
2024-02-06 12:49:08 -05:00
Peter F. Patel-Schneider
9c4bbec5e2
ui: handle backlight notification
2024-02-06 12:49:08 -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
0f8e9b3c0f
device: support bug in backlight on MX Keys S
2024-02-06 12:49:08 -05:00
Peter F. Patel-Schneider
097736478d
devices: override name of Candy Companion Chip
2024-02-04 14:20:12 -05:00
Peter F. Patel-Schneider
a6f7507ce6
ui: use Report Rate instead of Polling for movement report rate
2024-02-01 10:13:03 -05:00
Peter F. Patel-Schneider
db4e40e3ac
device: add extended report rate setting
2024-02-01 10:13:03 -05:00
Peter F. Patel-Schneider
0db84f5aa4
rules: write empty file if there are no rules to save
2024-01-28 15:36:28 -05:00
Peter F. Patel-Schneider
9b32a1b195
device: add names for new Logitech features
2024-01-20 11:23:01 -05:00
Peter F. Patel-Schneider
9350300fd8
device: remove incorrect feature for M325 mice
2023-12-14 08:50:02 -05:00
Clement Cheung
4b2bb921b1
device: add K845 keyboard
2023-12-05 15:15:51 -05:00
Peter F. Patel-Schneider
fa7606e242
rules: style fix
2023-11-28 16:45:34 -05:00
markopy
29ff35d553
Partial support for macOS and Windows ( #1971 )
...
* Add support for macOS via hidapi
* Style fixes
* Ignore keyboard and mouse input devices
* Don't require pyudev on mac and windows
* Fix debug log format error
* More logging for failed hidpp checks
* Don't try to load hid_darwin_set_open_exclusive on windows
* Bring back button for rule editor since some rules will work
---------
Co-authored-by: markopy <(none)>
Co-authored-by: Peter F. Patel-Schneider <pfpschneider@gmail.com>
2023-11-28 16:25:17 -05:00
Peter F. Patel-Schneider
d9e5e33947
device: correctly enumerate devices on receiver
2023-11-23 11:18:08 -05:00
Peter F. Patel-Schneider
b2eb039e2d
device: catch errors when pinging to try to put device online
2023-11-19 12:04:02 -05:00
Peter F. Patel-Schneider
4669cad2e1
ui: be more cautious when creating log messages to avoid exceptions
2023-11-19 12:04:02 -05:00
Peter F. Patel-Schneider
ffd66e74c2
rules: fix test for device equality
2023-11-08 10:05:53 -05:00
FiveYellowMice
636bb07d1f
NamedInt: return False on comparison with None
2023-11-04 13:27:50 -04:00
Peter F. Patel-Schneider
7706882a27
device: add support for MK550
2023-11-03 19:20:59 -04:00