-
-
Notifications
You must be signed in to change notification settings - Fork 180
Development 2 ‐ Adding a Corsair VOID device
If you have a Corsair (void) and it doesn't find your device you can try this:
So far, Corsair has always used the same protocol except for Virtuso and HS series*.
You can simply try adding your device to the existing implementation.
In Linux you can check with the CLI program alsamixer wether your headset has sidetone as an audio channel. If so, you cannot implement it in HeadsetControl because HIDApi does not support modifying volumes of audio.
Run headsetcontrol with this parameters: headsetcontrol --dev -- --list
You should get an output with a lot of devices. There should be your headset.
E.g. for Corsair Void:
Device Found
VendorID: 0x1b1c
ProductID: 0x1b27
path: IOService:/AppleACPIPlatformExpert/PCI0@0/AppleACPIPCI/XHC1@14/XHC1@14000000/HS02@14200000/USB2.0 Hub @14200000/AppleUSB20Hub@14200000/AppleUSB20HubPort@14220000/USB2.0 Hub @14220000/AppleUSB20Hub@14220000/AppleUSB20HubPort@14224000/Corsair VOID Wireless Gaming Dongle@14224000/Hid Interface@3/AppleUserUSBHostHIDDevice
serial_number:
Manufacturer: Corsair
Product: Corsair VOID Wireless Gaming Dongle
Interface: 3
Usage-Page: 0xff00 Usageid: 0x1
Take note of the ProductID. (0x1b27 in this case)
- Open
src/devices/corsair_void.c
create a new#define
for your device where your specify the new device id. - Insert the name of the define into the array PRODUCT_IDS.
- Recompile, by cd'ing back to your build folder and simply type
make
(and possiblymake install
). - If it works, please also contribute by opening an issue or creating a pull request.
If your device works, you can contribute like this: (This will help us greatly!)
- Fork the repository
- Apply your changes to your fork (Please don't do any other changes - do them in a separate request)
- If you have no git knowledge, simply edit it online at GitHub in your fork.
- Do a pull request https://help.github.com/en/articles/creating-a-pull-request-from-a-fork
Don't hesitate to ask questions by opening up an issue.