Peter F. Patel-Schneider
646ef2f596
device: move battery constants common to HID++ 1.0 and 2.0 to common
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
5f487dd3b2
logitech_receiver: Move hidpp20 constants into new module
...
Related #1097
2024-02-20 05:58:33 -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
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
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
0548bde44f
ui: handle onboard profiles notifications
2024-02-07 18:48:22 -05:00
Peter F. Patel-Schneider
9c4bbec5e2
ui: handle backlight notification
2024-02-06 12:49:08 -05:00
Peter F. Patel-Schneider
773dac56b6
solaar: improve handling of wheel notifications
2022-12-09 06:59:37 -05:00
Peter F. Patel-Schneider
99f9c8762e
settings: only record changes of scroll wheel ratchet
2022-12-09 06:59:37 -05:00
Peter F. Patel-Schneider
5bf999b841
device: switch scroll ratcheting setting in response to scroll ratchet key notification
2022-10-26 20:56:09 -04:00
Peter F. Patel-Schneider
6b1e8f8a99
device: fix processing of HID++ 1.0 battery reports
2022-10-13 07:57:57 -04:00
Peter F. Patel-Schneider
b2f9df965a
device: use ADC notifications to set device inactive and active
2022-09-25 12:22:36 -04:00
Peter F. Patel-Schneider
2fd8068791
device: fix bugs in battery notification processing
2022-07-10 11:08:28 -04:00
Peter F. Patel-Schneider
4c126f417d
device: add support for ADC MEASUREMENT battery feature
2022-07-10 11:08:28 -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
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
ffb9b2710b
device: use isDevice, not kind, to distinguish between devices and receivers
2022-04-15 09:11:56 -04:00
Peter F. Patel-Schneider
1696733702
receiver: dispose of no-op notifications quickly
2022-02-27 11:59:54 -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
c8ab8b4350
receiver: don't do on-screen notify for wireless device status notifications
2021-12-11 13:41:56 -05:00
Peter F. Patel-Schneider
292461c168
receiver: improve feature notification processing code
2021-12-11 13:41:56 -05:00
Peter F. Patel-Schneider
9823e5ab8a
receiver: Bolt connection does not show encryption status
2021-11-11 10:48:12 -05:00
Peter F. Patel-Schneider
603fbe96e0
ui: add pairing for Bolt receivers
2021-11-11 10:48:12 -05:00
Peter F. Patel-Schneider
885cefb5b6
cli: add pairing for Bolt receivers
2021-11-11 10:48:12 -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
Peter F. Patel-Schneider
7873f3e8d0
receiver: handle more device connection protocols
2021-10-28 12:49:20 -04:00
Peter F. Patel-Schneider
d898edc4a3
notifications: downgrade unknown notifications warnings to info messages
2021-07-15 10:31:38 -04:00
Peter F. Patel-Schneider
be590c154a
docs: add documentation for rules processing and change name of rules file
2020-11-13 08:46:04 -05:00
Peter F. Patel-Schneider
f3a276d7a3
receiver: add rule-based processing of diverted features
2020-11-13 08:46:04 -05:00
Peter F. Patel-Schneider
ade9c816c7
receiver: add report_id to notifications and use where appropriate
2020-11-13 08:46:04 -05:00
Peter F. Patel-Schneider
d92939135f
device: warn when feature notifiation comes in before device fully set up
2020-11-02 08:27:08 -05:00
Peter F. Patel-Schneider
733bf913e6
device: implement UNIFIED_BATTERY feature
...
device: implement UNIFIED_BATTERY feature
2020-11-02 08:27:08 -05:00
Wojciech Nawrocki
362d43a7a1
backend: allow device objects to handle notifications
2020-09-28 12:59:04 -04:00
Alex Cherkayev
7a82b93aaf
udev: add function to get wpid from udev
...
base: make workaround flag name more generic
descriptors: fix wpid's for 27Mhz devices
device: Improve wpid and kind processing for 27Mhz devices
notifications: Improve wpid generation for 27Mhz devices
docs: fix wpid's for EX100
2020-09-07 11:43:25 -04:00
Peter F. Patel-Schneider
b0297694d1
receiver: remove spurious part of special handling for ex100 receiver
2020-09-01 23:13:49 -04:00
Peter F. Patel-Schneider
4df84107e1
receiver: don't emit warning for battery status notifications
2020-08-27 05:22:03 -04:00
Peter F. Patel-Schneider
e6947d95d8
receiver: use DJ connection notifications to set device active status
2020-08-27 05:22:03 -04:00
Peter F. Patel-Schneider
5041530952
receiver: don't produce pop-up notifications at startup and power on
2020-08-14 10:10:39 -04:00
Peter F. Patel-Schneider
78a6ae9208
receiver: keep better track of battery voltage status for GUI
2020-08-09 18:20:18 -04:00
Wojciech Nawrocki
1973693cc8
hidpp20: support version 4 of REPROG_CONTROLS_V4
2020-08-07 13:40:36 -04:00
Wojciech Nawrocki
95dc973748
hidpp20: add full support for version 2 of REPROG_CONTROLS_V4
2020-08-07 13:40:36 -04:00
Alex Cherkayev
e436b1bd1d
receiver: add support for EX100 keyboard/mouse and receiver (046d:c517)
...
docs: add EX100 keyboard/mouse combo
device: add EX100 keyboard and mouse
hidpp10: fix notification parsing, add device features flags, fix documentation links
notifications: fix wpid processing for 27 MHz protocol
cli: add display of device features flags for HID++ 1.0 devices
2020-07-20 11:55:59 -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
33521558ed
pre-commit: initial fix
...
Signed-off-by: Filipe Laíns <lains@archlinux.org>
2020-07-07 15:11:15 +01:00