Closed thoraxe closed 2 years ago
I created a ..._gprox
H/C file and added it to src/devices/CMakeLists.txt
. I used the following address:
static const uint16_t PRODUCT_ID = 0x0aba;
I then did the build, and it's building that object:
...
[build] [ 86%] Building C object CMakeFiles/headsetcontrol.dir/src/devices/logitech_gprox.c.
...
However, I am still getting No supported headset found
.
You also have to call the init function of your new file / headset in src/device_registry.c
OK, I've made progress, but I think now I'll likely need to dig into the USB stuff, as my guess is this device doesn't behave the same as the Pro:
Found Logitech G PRO X!
Couldn't open device.
never mind - i have to run it with sudo! PR incoming! sidetone works!
Fixed by #129
I am trying to set the sidetone for the Pro X Wireless that I just got, but I am getting the "No supported headset found" error when running
headsetcontrol
.Here's the info from
pactl list
:I'm assuming it's because the product ID
0aba
doesn't match anything in the devices files.This line mentions the ProX: https://github.com/Sapd/HeadsetControl/blob/master/src/devices/logitech_gpro.c#L9
But it has a different ID (
0aaa
).I'll try messing around with the source and recompiling for giggles to see if I can make it work and will report back.