Peter F. Patel-Schneider
|
1fe2eab1a4
|
device: move link_encrypted from status to Device
|
2024-03-11 08:23:27 -04:00 |
Peter F. Patel-Schneider
|
15d425c365
|
device: move battery information from status to Device
|
2024-03-11 08:23:27 -04:00 |
Peter F. Patel-Schneider
|
0805ecb511
|
device: move status string function to Device and Receiver
|
2024-03-11 08:23:27 -04:00 |
Peter F. Patel-Schneider
|
87285faf7f
|
receiver: move pairing status to new dataclass attached to receiver
|
2024-03-11 08:23:27 -04:00 |
Peter F. Patel-Schneider
|
135c8b8cb9
|
device: use status attribute for error
|
2024-03-09 10:36:40 -05:00 |
Peter F. Patel-Schneider
|
8154cd759f
|
device: use status attribute for notification_flags
|
2024-03-09 10:36:40 -05:00 |
Peter F. Patel-Schneider
|
6b3f09aa5d
|
device: use status attribute for link_encrypted
|
2024-03-09 10:36:40 -05:00 |
Peter F. Patel-Schneider
|
64d8cad81a
|
device: change status battery fields to Battery objects
|
2024-03-09 10:36:40 -05:00 |
Matthias Hagmann
|
85149a809e
|
refactor: Introduce Hidpp10 class
Related #1097
|
2024-03-02 10:56:41 -05:00 |
Matthias Hagmann
|
7ef3059b69
|
clean up: Remove editor specific marks
Related #2273
|
2024-02-29 10:10:46 -05:00 |
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
|
6f633efac5
|
ui: implement setting_changed callback and pass in to new devices and receivers
|
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 |
Matthias Hagmann
|
2fcab65486
|
logitech_receiver: Move hidpp10 constants into new 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 |
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
|
57c0c5d4b3
|
ui: don't show wireless link or battery information when unknown or not present
|
2023-02-16 07:39:36 -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
|
b2f9df965a
|
device: use ADC notifications to set device inactive and active
|
2022-09-25 12:22:36 -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
|
ffb9b2710b
|
device: use isDevice, not kind, to distinguish between devices and receivers
|
2022-04-15 09:11:56 -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
|
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 |
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
|
338a2687d3
|
device: don't signal status change when battery changes from None to None
|
2021-09-14 11:51:48 -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
|
808a719823
|
device: push device settings when device is active after suspend
|
2020-11-27 10:02:46 -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 |
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 |
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
|
579b09619b
|
receiver: process battery voltage notifications
|
2020-06-06 12:59:26 -04:00 |
Peter F. Patel-Schneider
|
013f383bc8
|
ui: display battery voltage in ui if available
|
2020-06-06 12:59:26 -04:00 |
Peter F. Patel-Schneider
|
7936d2dd48
|
receiver: use battery voltage in read_battery if available
|
2020-06-06 12:59:26 -04:00 |
Peter F. Patel-Schneider
|
79947dca6c
|
receiver: gather and show battery next level where available
|
2020-06-06 12:59:26 -04:00 |
Peter F. Patel-Schneider
|
4d23d3abac
|
device: heuristic inference of battery level when charging and no discharging information available
|
2020-05-02 09:58:24 -04:00 |
Peter F. Patel-Schneider
|
ea2c22c015
|
receiver: fix seldom-encountered bug for devices that have no features set up yet
|
2020-02-21 16:52:28 +00:00 |
Peter F. Patel-Schneider
|
4f4e610635
|
receiver: battery level 0 is unknown level
|
2020-02-10 18:44:28 +00:00 |
Tom Swartz
|
ae9e862f19
|
Fix typos in comments
|
2019-10-20 23:53:45 +01:00 |
spaced
|
3583759d3a
|
devices: basic support for craft keyboard
* basic support for craft keyboard
* fix issue where _(status) throws exception because namedInt with UTF8.decode
|
2019-08-20 09:39:11 +02:00 |
Patrick Decat
|
6c0acee645
|
Fix UnicodeDecodeError with ngettext and python2
|
2019-06-29 18:01:54 +02:00 |