Yaroslav Chvanov
bc05935322
sinowealth: use the first profile if active profile index is too high
...
It seems like some devices now do have several profiles support enabled
officially. We failed to probe such mice if they have had non-first
profile as active. This fixes it.
2023-03-01 03:27:02 +03:00
Yaroslav Chvanov
fb5995a731
sinowealth: get rid of profile cache
...
This just duplicates data between libratbag and the driver.
2023-03-01 03:27:02 +03:00
Yaroslav Chvanov
b92645c373
sinowealth: edit a note about active profile index to be more clear
2023-03-01 03:27:02 +03:00
Yaroslav Chvanov
08d7c6997d
sinowealth: move active profile index and debounce time getting to init
...
They were out of place being directly in the `probe` function.
Also, this will make more sense once we add an API for changing debounce
times.
2023-03-01 03:26:15 +03:00
Yaroslav Chvanov
9ec8c728cd
sinowealth: add missing new-line in a log message
2023-03-01 03:25:04 +03:00
Yaroslav Chvanov
085274678f
sinowealth: don't change active profile while probing
...
Official configuration utilities did this while probing if I remember
correctly, but it's not actually necessary.
2023-03-01 03:22:32 +03:00
Yaroslav Chvanov
5ab018df79
libratbag: remove everything related to the deprecated ratbag_led_type
2023-02-25 14:05:03 +03:00
Yaroslav Chvanov
87f1409b7a
test: remove usage of the deprecated LED type field
2023-02-25 14:02:37 +03:00
Yaroslav Chvanov
f0f0cc8843
sinowealth-nubwo: remove usage of the deprecated LED type field
2023-02-25 13:59:23 +03:00
Yaroslav Chvanov
cbf09dac75
libratbag-data: don't parse LedTypes from device files
2023-02-25 13:59:23 +03:00
Yaroslav Chvanov
311df4e78e
G300: remove usage of the deprecated LED type field
2023-02-25 13:56:50 +03:00
Yaroslav Chvanov
a56ed6f1d8
roccat-kone-emp: remove usage of deprecated LED types
2023-02-25 13:36:21 +03:00
Yaroslav Chvanov
741b5f80e0
hidpp20: remove usage of deprecated LED types
2023-02-25 13:33:56 +03:00
Yaroslav Chvanov
ecdcfc1c34
steelseries: remove usage of deprecated LED type
2023-02-25 13:33:23 +03:00
Yaroslav Chvanov
82f0ed2aa1
G600: remove usage of deprecated LED types
2023-02-25 13:32:30 +03:00
Yaroslav Chvanov
22020330fb
sinowealth: remove usage of deprecated LED types
2023-02-25 13:32:12 +03:00
Yaroslav Chvanov
2edeefaaa0
asus: remove usage of deprecated LED types
2023-02-25 13:31:38 +03:00
Yaroslav Chvanov
11fa70ad5c
hidpp20: remove unused LED type mappings
2023-02-25 13:28:52 +03:00
Yaroslav Chvanov
73b9b2da3a
hidpp20: remove usage of the deprecated LED type in the driver
2023-02-25 13:27:17 +03:00
Yaroslav Chvanov
0c8beb6b9c
libratbag: remove support for the deprecated button type field
2023-02-25 13:27:17 +03:00
Yaroslav Chvanov
6e3011d64f
hidpp20: remove unused physical mapping button type
...
The `name` field does seem useful for debugging, so I left it in place.
2023-02-25 13:27:17 +03:00
Yaroslav Chvanov
1b00f7031a
hidpp20: don't set the deprecated button type field in the driver
2023-02-25 13:23:29 +03:00
Yaroslav Chvanov
5548da21d3
gskill: remove support for the deprecated button type field
...
In this driver it seems like it was used for something. Let's hope it
was something optional.
2023-02-25 13:11:37 +03:00
Yaroslav Chvanov
53d1eefa1c
test: remove support for the deprecated button type field
2023-02-25 13:02:46 +03:00
Yaroslav Chvanov
6cadc70caf
steelseries: remove support for the deprecated button type field
2023-02-25 13:01:24 +03:00
Yaroslav Chvanov
ae2b0aa80b
roccat: remove support for the deprecated button type field
2023-02-25 13:01:16 +03:00
Yaroslav Chvanov
05652e554c
roccat-kone-pure: remove support for the deprecated button type field
2023-02-25 13:01:08 +03:00
Yaroslav Chvanov
a364076919
roccat-kone-emp: remove support for the deprecated button type field
2023-02-25 13:00:53 +03:00
Yaroslav Chvanov
d460e48795
G600: remove support for the deprecated button type field
2023-02-25 13:00:15 +03:00
Yaroslav Chvanov
018bd6e43e
G300: remove support for the deprecated button type field
2023-02-25 13:00:09 +03:00
Yaroslav Chvanov
64dbfaa14a
hidpp10: remove support for the deprecated button type field
2023-02-25 13:00:00 +03:00
Yaroslav Chvanov
515e634e87
gskill: remove support for the deprecated button type field
2023-02-25 12:59:26 +03:00
Yaroslav Chvanov
846a11ad58
etekcity: remove support for the deprecated button type field
2023-02-25 12:58:41 +03:00
Yaroslav Chvanov
54b55df43b
roccat: don't enable key-type button actions
...
Not actually implemented.
2023-02-25 12:51:43 +03:00
Yaroslav Chvanov
40b477c2e3
roccat-kone-pure: don't enable key-type button actions
...
Not actually implemented.
2023-02-25 12:51:28 +03:00
Yaroslav Chvanov
f3052c5ff1
roccat-kone-emp: don't enable key-type button actions
...
Not actually implemented.
2023-02-25 12:51:00 +03:00
Yaroslav Chvanov
fbc4296c3b
etekcity: don't enable key-type button actions
...
Trivially implementable, but not supported as-is.
2023-02-25 12:47:54 +03:00
Yaroslav Chvanov
1ea3eafc20
G300: don't enable key-type button actions
...
Trivially implementable, but not supported as-is.
2023-02-25 12:43:07 +03:00
Yaroslav Chvanov
cbc822bd52
steelseries: don't enable key-type button actions
...
Trivially implementable, but not supported as-is.
2023-02-25 12:43:04 +03:00
Yaroslav Chvanov
de5436e9a6
G600: don't enable key-type button actions
...
Trivially implementable, but not supported as-is.
2023-02-25 12:42:50 +03:00
Yaroslav Chvanov
e9e9d8e3fe
libratbag-util: check the return value of scanf
2023-02-25 00:22:07 +03:00
Yaroslav Chvanov
3730e4d48a
driver-hidpp10: fix variable shadowing
2023-02-24 23:44:01 +03:00
Yaroslav Chvanov
f872b16ef8
driver-hidpp20: fix variable shadowing
2023-02-24 23:44:01 +03:00
Yaroslav Chvanov
2a866aacde
test: fix variable shadowing
2023-02-24 23:44:01 +03:00
Yaroslav Chvanov
33e0c2cacc
hidpp10: fix variable shadowing
2023-02-24 23:44:01 +03:00
Yaroslav Chvanov
80ce0dbf21
sinowealth: remove an incorrect enum member
2023-02-24 23:44:01 +03:00
Yaroslav Chvanov
200fbe5875
hidpp10: fix a faulty error check which prevent macro parsing
2023-02-24 23:44:00 +03:00
Yaroslav Chvanov
5158d80cfa
G600: prevent unused variable usage warning
2023-02-24 23:44:00 +03:00
Yaroslav Chvanov
683b5d752c
G300: prevent unused variable usage warning
2023-02-24 23:44:00 +03:00
Matt Coffin
f20686b296
steelseries: add support for Rival 650 Wireless
2023-02-24 22:01:15 +03:00