Skip to content

Commit b340ebc

Browse files
committed
Prepare new feature
- Update README with new features - Don't add short output info for new features - Remove double option - Increase API version
1 parent 518076c commit b340ebc

File tree

4 files changed

+33
-32
lines changed

4 files changed

+33
-32
lines changed

README.md

Lines changed: 26 additions & 26 deletions
Original file line numberDiff line numberDiff line change
@@ -9,32 +9,32 @@ talking. This differs from a simple loopback via PulseAudio as you won't have an
99

1010
## Supported Headsets
1111

12-
| Device | sidetone | battery | notification sound | lights | inactive time | chatmix | voice prompts | rotate to mute | equalizer preset | equalizer | microphone mute led brightness | microphone volume |
13-
| --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- |
14-
| Corsair Headset Device | x | x | x | x | | | | | | | | |
15-
| HyperX Cloud Alpha Wireless | x | x | | | x | | x | | | | | |
16-
| HyperX Cloud Flight Wireless | | x | | | | | | | | | | |
17-
| HyperX Cloud 3 | x | | | | | | | | | | | |
18-
| Logitech G430 | x | | | | | | | | | | | |
19-
| Logitech G432/G433 | x | | | | | | | | | | | |
20-
| Logitech G533 | x | x | | | x | | | | | | | |
21-
| Logitech G535 | x | x | | | x | | | | | | | |
22-
| Logitech G930 | x | x | | | | | | | | | | |
23-
| Logitech G633/G635/G733/G933/G935 | x | x | | x | | | | | | | | |
24-
| Logitech G PRO Series | x | x | | | x | | | | | | | |
25-
| Logitech G PRO X 2 | x | | | | x | | | | | | | |
26-
| Logitech Zone Wired/Zone 750 | x | | | | | | x | x | | | | |
27-
| SteelSeries Arctis (1/7X) Wireless | x | x | | | x | | | | | | | |
28-
| SteelSeries Arctis (7/Pro) | x | x | | x | x | x | | | | | | |
29-
| SteelSeries Arctis 9 | x | x | | | x | x | | | | | | |
30-
| SteelSeries Arctis Pro Wireless | x | x | | | x | | | | | | | |
31-
| ROCCAT Elo 7.1 Air | | | | x | x | | | | | | | |
32-
| ROCCAT Elo 7.1 USB | | | | x | | | | | | | | |
33-
| SteelSeries Arctis Nova 3 | x | | | | | | | | x | x | x | x |
34-
| SteelSeries Arctis Nova 7 | x | x | | | x | x | | | x | x | | |
35-
| SteelSeries Arctis 7+ | x | x | | | x | x | | | x | x | | |
36-
| SteelSeries Arctis Nova Pro Wireless | x | x | | x | x | | | | x | x | | |
37-
| HeadsetControl Test device | x | x | x | x | x | x | x | x | x | x | x | x |
12+
| Device | sidetone | battery | notification sound | lights | inactive time | chatmix | voice prompts | rotate to mute | equalizer preset | equalizer | microphone mute led brightness | microphone volume | volume limiter | bluetooth when powered on | bluetooth call volume |
13+
| --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- |
14+
| Corsair Headset Device | x | x | x | x | | | | | | | | | | | |
15+
| HyperX Cloud Alpha Wireless | x | x | | | x | | x | | | | | | | | |
16+
| HyperX Cloud Flight Wireless | | x | | | | | | | | | | | | | |
17+
| HyperX Cloud 3 | x | | | | | | | | | | | | | | |
18+
| Logitech G430 | x | | | | | | | | | | | | | | |
19+
| Logitech G432/G433 | x | | | | | | | | | | | | | | |
20+
| Logitech G533 | x | x | | | x | | | | | | | | | | |
21+
| Logitech G535 | x | x | | | x | | | | | | | | | | |
22+
| Logitech G930 | x | x | | | | | | | | | | | | | |
23+
| Logitech G633/G635/G733/G933/G935 | x | x | | x | | | | | | | | | | | |
24+
| Logitech G PRO Series | x | x | | | x | | | | | | | | | | |
25+
| Logitech G PRO X 2 | x | | | | x | | | | | | | | | | |
26+
| Logitech Zone Wired/Zone 750 | x | | | | | | x | x | | | | | | | |
27+
| SteelSeries Arctis (1/7X) Wireless | x | x | | | x | | | | | | | | | | |
28+
| SteelSeries Arctis (7/Pro) | x | x | | x | x | x | | | | | | | | | |
29+
| SteelSeries Arctis 9 | x | x | | | x | x | | | | | | | | | |
30+
| SteelSeries Arctis Pro Wireless | x | x | | | x | | | | | | | | | | |
31+
| ROCCAT Elo 7.1 Air | | | | x | x | | | | | | | | | | |
32+
| ROCCAT Elo 7.1 USB | | | | x | | | | | | | | | | | |
33+
| SteelSeries Arctis Nova 3 | x | | | | | | | | x | x | x | x | | | |
34+
| SteelSeries Arctis Nova 7 | x | x | | | x | x | | | x | x | x | x | x | x | x |
35+
| SteelSeries Arctis 7+ | x | x | | | x | x | | | x | x | | | | | |
36+
| SteelSeries Arctis Nova Pro Wireless | x | x | | x | x | | | | x | x | | | | | |
37+
| HeadsetControl Test device | x | x | x | x | x | x | x | x | x | x | x | x | x | x | x |
3838

3939
For non-supported headsets on Linux: There is a chance that you can set the sidetone via AlsaMixer
4040

src/device.c

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,8 @@ const char capabilities_str_short[NUM_CAPABILITIES]
5252
[CAP_EQUALIZER] = 'e',
5353
[CAP_MICROPHONE_MUTE_LED_BRIGHTNESS] = 't',
5454
[CAP_MICROPHONE_VOLUME] = 'o',
55-
[CAP_VOLUME_LIMITER] = 'g',
56-
[CAP_BT_WHEN_POWERED_ON] = 'h',
57-
[CAP_BT_CALL_VOLUME] = 'j'
55+
// new capabilities since short output was deprecated
56+
[CAP_VOLUME_LIMITER] = '\0',
57+
[CAP_BT_WHEN_POWERED_ON] = '\0',
58+
[CAP_BT_CALL_VOLUME] = '\0'
5859
};

src/main.c

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -554,7 +554,6 @@ int main(int argc, char* argv[])
554554
{ "battery", no_argument, NULL, 'b' },
555555
{ "bt-call-volume", required_argument, NULL, 0 },
556556
{ "bt-when-powered-on", required_argument, NULL, 0 },
557-
{ "volume-limiter", required_argument, NULL, 0 },
558557
{ "capabilities", no_argument, NULL, '?' },
559558
{ "chatmix", no_argument, NULL, 'm' },
560559
{ "connected", no_argument, NULL, 0 },

src/output.c

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
#include <stdlib.h>
1010
#include <string.h>
1111

12-
const char* APIVERSION = "1.0";
12+
const char* APIVERSION = "1.1";
1313
const char* HEADSETCONTROL_NAME = "HeadsetControl";
1414

1515
// Function to convert enum to string
@@ -726,7 +726,8 @@ void output_short(HeadsetControlStatus* status, HeadsetInfo* info, bool print_ca
726726

727727
if (print_capabilities) {
728728
for (int j = 0; j < info->capabilities_amount; j++) {
729-
printf("%c", capabilities_str_short[info->capabilities_enum[j]]);
729+
if (capabilities_str_short[info->capabilities_enum[j]] != '\0')
730+
printf("%c", capabilities_str_short[info->capabilities_enum[j]]);
730731
}
731732

732733
continue;

0 commit comments

Comments
 (0)