Commit Graph

2313 Commits

Author SHA1 Message Date
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
85cab665b5 tools: remove helpers for the deprecated ratbag_button_type 2023-02-25 13:03: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
9ec13c2862 tools: write to file directly without using print 2023-02-25 01:03:13 +03:00
Yaroslav Chvanov
3be9f38d2c tools: remove unused variables 2023-02-25 00:57:18 +03:00
Yaroslav Chvanov
e49c18b909 tools: use with-statements to open files
I'll be honest, writing to files with `print` looks weird...
2023-02-25 00:55:53 +03:00
Yaroslav Chvanov
74c2cb686e test: add explanations to empty excepts
And all of them are the same string... This is a bit annoying.
2023-02-25 00:41:23 +03:00
Yaroslav Chvanov
0db55eda25 tools: remove unused arguments 2023-02-25 00:22:07 +03:00
Yaroslav Chvanov
313c34fa98 tools: fix incorrect special method signature
Continuation of 62678baca1.
2023-02-25 00:22:07 +03:00
Yaroslav Chvanov
b275204c87 tools: check snprintf size argument to prevent potential overflow 2023-02-25 00:22:07 +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
7731a874d1 ratbagd: don't extract sd_bus when it's given as an argument 2023-02-24 23:44:00 +03:00
Yaroslav Chvanov
b0a9f24afb test: remove a duplicate import 2023-02-24 23:44:00 +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
Yaroslav Chvanov
1eed280b82 tools: remove an unused function that always raises
..unless it's used by some third-party library? Either way, it just
raises an error.
2023-02-24 23:43:33 +03:00
Yaroslav Chvanov
dcdd7be8d8 tools: remove an unnecessary variable definition 2023-02-24 22:46:34 +03:00
Yaroslav Chvanov
62678baca1 tools: fix incorrect special method signature
They worked fine nonetheless as we only called these manually.
2023-02-24 22:43:37 +03:00
Matt Coffin
f20686b296 steelseries: add support for Rival 650 Wireless 2023-02-24 22:01:15 +03:00
José Almeida
ada99fb72e data: add device Logitech G Pro (X) keyboard
Known issues:
- not possible to change LED color of Caps lock indicator, Scroll
lock indicator and Game Mode button.
2023-02-14 16:49:27 +03:00
Yaroslav Chvanov
4b2b5a2038 ratbagctl: capitalize device type instead of having it in upper case 2023-02-14 16:29:21 +03:00
Julian Kandlhofer
d95328e8cc change misnamed function name
Signed-off-by: Julian Kandlhofer <julian.kandlhofer@gmail.com>
2023-02-14 16:29:20 +03:00
Julian Kandlhofer
4f36371af3 implement 'DeviceType' property
Signed-off-by: Julian Kandlhofer <julian.kandlhofer@gmail.com>
2023-02-14 16:29:20 +03:00
Yaroslav Chvanov
931ec44ff2 driver-hidpp10: fix integer overflow when profile count is unset
Blame C for implicit conversions.
2023-01-27 13:45:13 +03:00
Yaroslav Chvanov
fbdb41b073 hidpp10: return EINVAL instead of aborting
While these indicate an obvious error in the caller's code, there is no
need to crash the whole program because of this.
2023-01-27 13:42:32 +03:00
mistepien
6dcd17d340 data: add additional USB id for Logitech G102 (046d:c09d) 2023-01-06 17:45:30 +03:00