Peter F. Patel-Schneider
24ae9bacaa
device: move mapping of device kind into hidpp20
2024-02-22 09:57:02 -05:00
Peter F. Patel-Schneider
4b33c119f6
device: move pairing information gathering to receiver
2024-02-22 09:57:02 -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
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
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
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
fb30f4ee41
device: support onboard profiles
2024-02-07 18:48:22 -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
db4e40e3ac
device: add extended report rate setting
2024-02-01 10:13:03 -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
8537708ec2
device: improve determination of short or long messages
2023-09-17 10:39:48 -04:00
Peter F. Patel-Schneider
5b1d542d79
device: when finding name or codename ping if not known to be online
2023-04-18 07:00:50 -04:00
Peter F. Patel-Schneider
4f1ad33e39
device: get wpid for 28Mz devices from udev when enumerating
2023-02-21 10:25:30 -05:00
Peter F. Patel-Schneider
d41c607188
receiver: fix bug in determining kind of devices for 27Mz receivers
2023-02-11 12:28:01 -05:00
Peter F. Patel-Schneider
3974f1eb4e
device: correctly determine whether to ping with a long HID++ message
2022-12-31 12:23:23 -05:00
Peter F. Patel-Schneider
79d3a60027
device: clean up device creation
2022-12-17 13:21:27 -05:00
Peter F. Patel-Schneider
7b6b11ac73
device: add support for config change feature
2022-12-05 16:44:52 -05:00
Peter F. Patel-Schneider
51ec36fef4
receiver: rationalize receiver information structure
2022-10-13 16:14:30 -04:00
Peter F. Patel-Schneider
3e90c3bc8a
hidapi: process hid report descriptors to identify devices
2022-10-13 16:14:30 -04:00
Peter F. Patel-Schneider
7031f5338f
device: correctly record battery feature when ADC MEASUREMENT produces error
2022-09-25 12:22:36 -04:00
Peter F. Patel-Schneider
ca13e06519
device: get extended pairing information early and allow for unknown WPID
2022-08-20 20:12:48 -04:00
Peter F. Patel-Schneider
2fbaa4a3aa
receiver: return null values if no pairing information available
2022-08-20 20:12:48 -04:00
Peter F. Patel-Schneider
4059b377b4
receiver: use last_id as maximum device number not max_devices
2022-08-20 20:12:48 -04:00
Peter F. Patel-Schneider
d4d4574b3f
device: don't use field that may require communication with device in equality test
2022-08-20 08:49:16 -04:00
Peter F. Patel-Schneider
58dde18f3c
device: fix exception when removing device not in instance list
2022-08-20 08:49:16 -04:00
Peter F. Patel-Schneider
218f7c9620
device: keep track of devices in list
2022-07-26 09:28:17 -04:00
Peter F. Patel-Schneider
83eb836177
device: regularize and improve battery status gathering and reporting
2022-07-10 11:08:28 -04:00
Peter F. Patel-Schneider
42faf0c3a0
device: consult polling rate feature for polling rate
2022-05-28 09:58:05 -04:00
Peter F. Patel-Schneider
15d383ad30
device: don't open second handle for devices
2022-05-28 09:58:05 -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
e3d62f5dca
device: refactor device ID calls
2022-03-31 11:54:41 -04:00
Peter F. Patel-Schneider
12ecef004e
receiver: gather and show PERSISTENT_REMAPPABLE_ACTION information
2022-03-12 12:20:38 -05:00
Peter F. Patel-Schneider
71ac905d76
device: determine device number from protocol for direct-connected devices; add G9 Laser Mouse
2022-03-02 22:58:25 -05:00
Peter F. Patel-Schneider
55a91f0ae4
device: add id property (unitId or serial) and don't use ? for unknown serial
2022-01-24 14:03:17 -05:00
Peter F. Patel-Schneider
56936a4d0a
device: better gesture structure computation
2022-01-24 11:17:40 -05:00
Peter F. Patel-Schneider
22b99ecce7
device: lock computation of gestures and settings to prevent two threads from doing the same work
2022-01-24 11:17:40 -05:00
Peter F. Patel-Schneider
11fa025f1d
settings: use classes for settings
2022-01-22 08:55:54 -05:00
Peter F. Patel-Schneider
d5a6ef058a
device: check for uninitialized protocol when pinging
2021-12-22 21:57:48 -05:00
Peter F. Patel-Schneider
fa83e6ebb8
device: add descriptor for Logitech PRO X Wireless Gaming Headset
2021-12-20 09:17:07 -05:00
Peter F. Patel-Schneider
b7a1b81181
device: push settings when device requests software reconfiguration
2021-12-20 08:06:03 -05:00
Peter F. Patel-Schneider
885cefb5b6
cli: add pairing for Bolt receivers
2021-11-11 10:48:12 -05:00
Peter F. Patel-Schneider
2c3578a776
receiver: move receiver pairing information code from device class to receiver class
2021-11-11 10:48:12 -05:00
Peter F. Patel-Schneider
a96caea5e4
receiver: move receiver codename code from device class to receiver class
2021-11-11 10:48:12 -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
Peter F. Patel-Schneider
c5ef207961
device: use first word of name for code name if friendly name not available
2021-08-31 19:05:57 -04:00