Matthias Hagmann
|
fb9dbb9c39
|
update: Replace legacy logger.warn with logger.warning
Related #1097
|
2024-03-02 10:56:41 -05:00 |
Matthias Hagmann
|
9c76a6c5ba
|
refactor: Introduce Hidpp20 class
Related #1097
|
2024-03-02 10:56:41 -05:00 |
Peter F. Patel-Schneider
|
ce2de71b1b
|
device: clean up device and receiver code
|
2024-02-22 09:57:02 -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 |
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
|
68b62a9ee4
|
device: fix bug in hidpp20 get host names
|
2024-02-21 16:04:32 -05:00 |
Matthias Hagmann
|
04e709b00a
|
Remove yapf exclusions
Related #2295
|
2024-02-20 15:41:10 -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
|
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
|
e8fdbeee8e
|
logitech_receiver: Move exceptions into own module
Related #1097
|
2024-02-20 05:58:33 -05:00 |
Peter F. Patel-Schneider
|
20a76fb4d3
|
device: improve features array
|
2024-02-18 08:21:09 -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
|
0f0de28e94
|
device: correctly handle profile button with no action
|
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
|
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
|
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
|
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
|
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
|
9b32a1b195
|
device: add names for new Logitech features
|
2024-01-20 11:23:01 -05:00 |
Peter F. Patel-Schneider
|
7b6b11ac73
|
device: add support for config change feature
|
2022-12-05 16:44:52 -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
|
7031f5338f
|
device: correctly record battery feature when ADC MEASUREMENT produces error
|
2022-09-25 12:22:36 -04:00 |
Peter F. Patel-Schneider
|
cdf3957180
|
device: add one to feature count to count ROOT feature
|
2022-09-25 12:22:36 -04:00 |
Peter F. Patel-Schneider
|
76afec5c82
|
cli: show features versions in solaar show (#1709)
|
2022-08-20 12:34:15 -04:00 |
Peter F. Patel-Schneider
|
e72c637667
|
device: keep track of feature versions
|
2022-08-07 09:42:40 -04:00 |
Peter F. Patel-Schneider
|
159bcfa173
|
device: use correct Solaar functions for unified and voltage battery functions
|
2022-07-15 13:53:54 -04:00 |
Peter F. Patel-Schneider
|
eabf71e120
|
device: compute approximate charge level for adc measurement feature
|
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
|
4c54261f91
|
device: better warnings for feature call errors with reprogrammable key and gesture settings
|
2022-07-07 22:05:03 -04:00 |
Peter F. Patel-Schneider
|
2658fbba5a
|
device: fix no-output values for persistent key mappings
|
2022-06-26 18:26:21 -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
|
50f0b6fc06
|
receiver: add ILLUMINATION feature number
|
2022-05-28 09:58:05 -04:00 |
Peter F. Patel-Schneider
|
97dca3d8f3
|
device: clear out fields for empty persistent remappable action
|
2022-04-30 08:10:52 -04:00 |
Peter F. Patel-Schneider
|
4459ea5342
|
device: improve device features handling
|
2022-04-26 09:03:20 -04:00 |
Kian-Meng Ang
|
15b92a0f40
|
misc: Fix typos
|
2022-04-12 17:18:11 -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
|
484b097664
|
settings: handle PERSISTENT REMAPPABLE ACTION for M720 mouse
|
2022-03-12 12:20:38 -05:00 |
Peter F. Patel-Schneider
|
1deb6c34e4
|
receiver: add PERSISTENT_REMAPPABLE_ACTION to KeysArray classes
|
2022-03-12 12:20:38 -05:00 |
Peter F. Patel-Schneider
|
4c683457f9
|
device: downgrade warning when devices don't echo requests for reprogrammable keys
|
2022-03-12 12:20:38 -05:00 |
Peter F. Patel-Schneider
|
bc398a8720
|
device: add DFUCONTROL feature
|
2022-03-09 09:13:24 -05:00 |
Peter F. Patel-Schneider
|
26aa1ee15f
|
device: lock querying all unqueried keys to prevent two threads from doing the same work
|
2022-01-24 11:17:40 -05:00 |
Peter F. Patel-Schneider
|
a9c4950389
|
device: don't use class-shared structure for gesture indexes
|
2022-01-24 11:17:40 -05:00 |
Vinícius
|
29ff5e5924
|
logitech_receiver: add UnsortedNamedInts
|
2022-01-24 11:12:04 -05:00 |
Peter F. Patel-Schneider
|
9315b3fcdb
|
receiver: optimize ReprogrammableKey in hidpp20
|
2021-12-29 09:52:59 -05:00 |
Peter F. Patel-Schneider
|
79606c530b
|
receiver: use feature numbers for reprogrammable key versions
|
2021-12-26 11:21:48 -05:00 |
Peter F. Patel-Schneider
|
174d0388ca
|
ui: display percentage estimates from battery voltage
|
2021-12-20 11:30:29 -05:00 |
Peter F. Patel-Schneider
|
b7a1b81181
|
device: push settings when device requests software reconfiguration
|
2021-12-20 08:06:03 -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
|
ed0b730e74
|
device: fix bug with timeout when setting reprog keys
|
2021-07-15 10:21:03 -04:00 |
Peter F. Patel-Schneider
|
f7488f67c1
|
settings: add mouse gesture handling
|
2021-04-13 09:26:24 -04:00 |
Peter F. Patel-Schneider
|
a4b54df433
|
device: fix debug message error
|
2021-04-02 10:25:01 -04:00 |
Peter F. Patel-Schneider
|
3fb197b78c
|
device: set host names longer than 14 bytes
|
2021-03-29 11:43:30 -04:00 |
Peter F. Patel-Schneider
|
cb67897d15
|
device: set current host name if not current host
|
2021-03-29 11:43:30 -04:00 |
Peter F. Patel-Schneider
|
533cd54b92
|
settings: add setting for SMART SHIFT ENHANCED feature
|
2021-03-26 15:55:59 -04:00 |
Peter F. Patel-Schneider
|
a658f2e2b0
|
device: add names for 2250 and 2251 features
|
2021-03-26 15:55:59 -04:00 |
Leonardo Gates
|
c1a79a49f8
|
settings: implement polling rate
|
2021-02-17 07:58:30 -05:00 |
Peter F. Patel-Schneider
|
82a41bf46b
|
device: show remaining pairings in show
|
2021-01-27 11:35:11 -05:00 |
Peter F. Patel-Schneider
|
111f2be5c8
|
device: defense against missing devices
|
2021-01-03 16:01:59 -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 |
Peter F. Patel-Schneider
|
1162ccb897
|
device: be defensive when getting device id
|
2020-11-01 15:14:18 -05:00 |
Peter F. Patel-Schneider
|
7a7aad8977
|
device: use FRIENDLY NAME for codename if needed and available
|
2020-10-07 05:30:34 -04:00 |
Peter F. Patel-Schneider
|
4874d72c16
|
receiver: fix bug in debug message
|
2020-09-28 14:47:43 -04:00 |
Peter F. Patel-Schneider
|
ebf7984ad0
|
device: determine SLIDING DPI suitability based on device features
|
2020-09-28 12:59:04 -04:00 |
Peter F. Patel-Schneider
|
b1d4b2f3cd
|
receiver: add model and node ID and use in configurations
|
2020-09-23 18:03:47 -04:00 |
Vinícius
|
1ce67954cb
|
receiver: fixed number of spec "field widths"
|
2020-09-01 18:38:00 -04:00 |
Vinícius
|
c8fe87ee2d
|
receiver: implementation of GESTURE 2 params; improved UI for multiple toggle
|
2020-09-01 18:38:00 -04:00 |
Vinícius
|
b3751913b2
|
receiver: read GESTURE2 param defaults
|
2020-09-01 18:38:00 -04:00 |
Vinícius
|
09394cfbf5
|
receiver: support GESTURE2 specs
|
2020-09-01 18:38:00 -04:00 |
Vinícius
|
4a5c0ea523
|
receiver: initial implementation of boolean GESTURE 2 settings
|
2020-09-01 18:38:00 -04:00 |
Peter F. Patel-Schneider
|
633760e261
|
receiver: add initial support for GESTURE_2
|
2020-09-01 18:38:00 -04:00 |
effective-light
|
16823092bc
|
device: add preliminary support for wired devices
|
2020-08-25 06:47:07 -04:00 |
Peter F. Patel-Schneider
|
330fadfbce
|
receiver: check that device can retrieve host names before trying that
|
2020-08-12 19:12:41 -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 |
Peter F. Patel-Schneider
|
e86a50cfa9
|
receiver: use report rate feature if available to determine polling rate
|
2020-07-13 13:34:21 -04:00 |
Peter F. Patel-Schneider
|
c6506b3508
|
receiver: add option to not wait for a reply when requesting to device
|
2020-07-12 18:04:04 -04:00 |
Peter F. Patel-Schneider
|
c38d10a654
|
receiver: gather host names from HOSTS_INFO feature and show them
|
2020-07-09 12:44:27 -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
|
cab523e122
|
receiver: add direct implementation of NEW FN INVERSION feature
receiver: fix bug in NEW FN INVERSION
receiver: fix bug in NEW FN INVERSION
receiver: fix bug in NEW FN INVERSION
|
2020-06-30 16:20:38 -04:00 |
Peter F. Patel-Schneider
|
f631f0f551
|
receiver: keep track of non-features to not continually try to find them
|
2020-06-20 13:38:09 -04:00 |