Skip to content

Commit

Permalink
Prepare new feature
Browse files Browse the repository at this point in the history
- Update README with new features
- Don't add short output info for new features
- Remove double option
- Increase API version
  • Loading branch information
Sapd committed Jun 11, 2024
1 parent 518076c commit b340ebc
Show file tree
Hide file tree
Showing 4 changed files with 33 additions and 32 deletions.
52 changes: 26 additions & 26 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,32 +9,32 @@ talking. This differs from a simple loopback via PulseAudio as you won't have an

## Supported Headsets

| Device | sidetone | battery | notification sound | lights | inactive time | chatmix | voice prompts | rotate to mute | equalizer preset | equalizer | microphone mute led brightness | microphone volume |
| --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- |
| Corsair Headset Device | x | x | x | x | | | | | | | | |
| HyperX Cloud Alpha Wireless | x | x | | | x | | x | | | | | |
| HyperX Cloud Flight Wireless | | x | | | | | | | | | | |
| HyperX Cloud 3 | x | | | | | | | | | | | |
| Logitech G430 | x | | | | | | | | | | | |
| Logitech G432/G433 | x | | | | | | | | | | | |
| Logitech G533 | x | x | | | x | | | | | | | |
| Logitech G535 | x | x | | | x | | | | | | | |
| Logitech G930 | x | x | | | | | | | | | | |
| Logitech G633/G635/G733/G933/G935 | x | x | | x | | | | | | | | |
| Logitech G PRO Series | x | x | | | x | | | | | | | |
| Logitech G PRO X 2 | x | | | | x | | | | | | | |
| Logitech Zone Wired/Zone 750 | x | | | | | | x | x | | | | |
| SteelSeries Arctis (1/7X) Wireless | x | x | | | x | | | | | | | |
| SteelSeries Arctis (7/Pro) | x | x | | x | x | x | | | | | | |
| SteelSeries Arctis 9 | x | x | | | x | x | | | | | | |
| SteelSeries Arctis Pro Wireless | x | x | | | x | | | | | | | |
| ROCCAT Elo 7.1 Air | | | | x | x | | | | | | | |
| ROCCAT Elo 7.1 USB | | | | x | | | | | | | | |
| SteelSeries Arctis Nova 3 | x | | | | | | | | x | x | x | x |
| SteelSeries Arctis Nova 7 | x | x | | | x | x | | | x | x | | |
| SteelSeries Arctis 7+ | x | x | | | x | x | | | x | x | | |
| SteelSeries Arctis Nova Pro Wireless | x | x | | x | x | | | | x | x | | |
| HeadsetControl Test device | x | x | x | x | x | x | x | x | x | x | x | x |
| 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 |
| --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- |
| Corsair Headset Device | x | x | x | x | | | | | | | | | | | |
| HyperX Cloud Alpha Wireless | x | x | | | x | | x | | | | | | | | |
| HyperX Cloud Flight Wireless | | x | | | | | | | | | | | | | |
| HyperX Cloud 3 | x | | | | | | | | | | | | | | |
| Logitech G430 | x | | | | | | | | | | | | | | |
| Logitech G432/G433 | x | | | | | | | | | | | | | | |
| Logitech G533 | x | x | | | x | | | | | | | | | | |
| Logitech G535 | x | x | | | x | | | | | | | | | | |
| Logitech G930 | x | x | | | | | | | | | | | | | |
| Logitech G633/G635/G733/G933/G935 | x | x | | x | | | | | | | | | | | |
| Logitech G PRO Series | x | x | | | x | | | | | | | | | | |
| Logitech G PRO X 2 | x | | | | x | | | | | | | | | | |
| Logitech Zone Wired/Zone 750 | x | | | | | | x | x | | | | | | | |
| SteelSeries Arctis (1/7X) Wireless | x | x | | | x | | | | | | | | | | |
| SteelSeries Arctis (7/Pro) | x | x | | x | x | x | | | | | | | | | |
| SteelSeries Arctis 9 | x | x | | | x | x | | | | | | | | | |
| SteelSeries Arctis Pro Wireless | x | x | | | x | | | | | | | | | | |
| ROCCAT Elo 7.1 Air | | | | x | x | | | | | | | | | | |
| ROCCAT Elo 7.1 USB | | | | x | | | | | | | | | | | |
| SteelSeries Arctis Nova 3 | x | | | | | | | | x | x | x | x | | | |
| SteelSeries Arctis Nova 7 | x | x | | | x | x | | | x | x | x | x | x | x | x |
| SteelSeries Arctis 7+ | x | x | | | x | x | | | x | x | | | | | |
| SteelSeries Arctis Nova Pro Wireless | x | x | | x | x | | | | x | x | | | | | |
| HeadsetControl Test device | x | x | x | x | x | x | x | x | x | x | x | x | x | x | x |

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

Expand Down
7 changes: 4 additions & 3 deletions src/device.c
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,8 @@ const char capabilities_str_short[NUM_CAPABILITIES]
[CAP_EQUALIZER] = 'e',
[CAP_MICROPHONE_MUTE_LED_BRIGHTNESS] = 't',
[CAP_MICROPHONE_VOLUME] = 'o',
[CAP_VOLUME_LIMITER] = 'g',
[CAP_BT_WHEN_POWERED_ON] = 'h',
[CAP_BT_CALL_VOLUME] = 'j'
// new capabilities since short output was deprecated
[CAP_VOLUME_LIMITER] = '\0',
[CAP_BT_WHEN_POWERED_ON] = '\0',
[CAP_BT_CALL_VOLUME] = '\0'
};
1 change: 0 additions & 1 deletion src/main.c
Original file line number Diff line number Diff line change
Expand Up @@ -554,7 +554,6 @@ int main(int argc, char* argv[])
{ "battery", no_argument, NULL, 'b' },
{ "bt-call-volume", required_argument, NULL, 0 },
{ "bt-when-powered-on", required_argument, NULL, 0 },
{ "volume-limiter", required_argument, NULL, 0 },
{ "capabilities", no_argument, NULL, '?' },
{ "chatmix", no_argument, NULL, 'm' },
{ "connected", no_argument, NULL, 0 },
Expand Down
5 changes: 3 additions & 2 deletions src/output.c
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
#include <stdlib.h>
#include <string.h>

const char* APIVERSION = "1.0";
const char* APIVERSION = "1.1";
const char* HEADSETCONTROL_NAME = "HeadsetControl";

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

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

continue;
Expand Down

0 comments on commit b340ebc

Please sign in to comment.