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
Vinícius
ef54a750dc
receiver: implement KEYBOARD_DISABLE_KEYS feature
...
(the UI needs some improvement)
2020-06-20 13:30:32 -04:00
Peter F. Patel-Schneider
579b09619b
receiver: process battery voltage notifications
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
4f4e610635
receiver: battery level 0 is unknown level
2020-02-10 18:44:28 +00:00
Alex Cherkayev
814b7f30ba
docs: features: added some missing feature names and list of implemented features
...
Signed-off-by: Filipe Laíns <lains@archlinux.org>
2020-01-19 18:17:18 +00:00
effective-light
430b70711b
hidpp20: features: add BATTERY_VOLTAGE (0x1001) support
...
Signed-off-by: Filipe Laíns <lains@archlinux.org>
Co-authored-by: Filipe Laíns <lains@archlinux.org>
2020-01-12 16:05:21 +00:00
spaced
4fafd4f6be
hidpp20: features: add very basic implementation of 0x1982 (Backlight 2)
...
Fixes #547
2019-12-12 18:56:08 +00:00
Alex Cherkayev
ed9aa76547
Added status info on features MOUSE_POINTER, VERTICAL_SCROLLING, HI_RES_SCROLLING, POINTER_SPEED and LOWRES_WHEEL to solaar show.
...
Renamed functions for HI_RES_SCROLLING and LOWRES_WHEEL features for consistency.
2018-11-20 16:29:38 +02:00
Peter Wu
dcd1a88250
Merge pull request #390 from Toshik1978/master
...
Added Logitech K375s support
2018-08-11 16:36:13 +02:00
Anton Krivenko
47e7f997d5
Added Logitech K375s support
2017-10-14 22:08:40 +03:00
Mauro Carvalho Chehab
a01e4b2efe
hidpp20.py: handle gracefully errors at REPROG_CONTROLS_V4
...
At least with Anywhere Mouse MX 2, one reprogrammed key
fails to read:
ERROR [MainThread] logitech_receiver.base: (3) device 3 error on feature request {0829}: 2 = invalid argument
That causes "solaar show" to crash. Instead, let's handle
errors there gracefully, reporting it as:
7: unknown:00C3 , default: unknown:009C => unknown:00C3
virtual, pos:0, group:4, gmask:0
Signed-off-by: Mauro Carvalho Chehab <mchehab@s-opensource.com>
2017-09-10 22:53:19 -03:00
Mauro Carvalho Chehab
360c92f6b0
Add support for CLI show to display High Res Wheel settings
...
Add support for the high resolution wheel found on MX Anywhere 2.
Signed-off-by: Mauro Carvalho Chehab <mchehab@s-opensource.com>
2017-09-10 21:44:30 -03:00
Alex Cherkayev
f9618dd0ab
Add M185 keys reporting using REPROG CONTROLS V4 in cli
...
Add smooth scrolling using LOWRES_WHEEL
Add mouse speed selection using POINTER_SPEED
2017-03-21 18:02:59 +02:00
Peter Wu
e2d65a690e
hidpp20: update features list
...
Based on SetPoint6.65.62_32.exe and Options_2.10.73.exe (features.xml,
defaults.xml, LogiOptionsMgr.exe).
The names are based on the named next to the feature ID. For duplicates,
_2 is appended to the name.
This commands helps parsing numbers from debug prints:
strings LogiOptionsMgr.exe |
sed -nr 's/.*(Feature[0-9a-fA-F]{4})/\1 /p' | sort |
awk 'tolower(a)!=tolower($1){print"";a=$1}1;' | less -S
2015-05-27 23:20:43 +02:00
Peter Wu
1434b2a50d
Update features and keys list
...
Updated to information available from SetPoint 6.61.15.
2013-08-27 17:55:45 +02:00