GizmoAaron / Corsair-Void-Pro-Battery-Life

Simple python script to get the battery life from Corsair Void Pro.
1 stars 0 forks source link

Buffer Question #1

Open mx0c opened 4 years ago

mx0c commented 4 years ago

Hey, how did you come up with the buffer values and do you have any informations on the data which is coming back from the headset?

GizmoAaron commented 4 years ago

For the Buffer values, I had looked at a C++ implementation that someone else did for a set of headsets, including the void pro, and he had the buffer values to grab the battery life data. As for the info coming back from the headset, any data that you can get via iCUE(Corsair's proprietary software), you could probably hack your way into findings via the right request buffer. I was pretty satisfied with just the battery life but you could fork and expand on this if you wanted to, I'm sure there's a bunch of stuff you could do.

mx0c commented 4 years ago

yea, thats why i was curious how you came up with the values. Could you link me the C++ implementation you mentioned ?

GizmoAaron commented 4 years ago

Sure, I used https://github.com/Sapd/HeadsetControl/blob/master/src/devices/corsair_void.c as a reference to send buffer data to the usb dongle. He represents it as "data" or "request_data" but it's the same concept as the buffer, you're just sending it as a "report" to the usb, and it will give you back data based on the request.

mx0c commented 4 years ago

Thanks!