|
Post by tysonflint on Mar 6, 2022 7:36:01 GMT
I've been using the SDK for a while now and can control my cube and headset lights just fine.
I would now like to be able to query the status of the buttons on the headset button control interface. In the example below, I use instance 1, as device 0 is my Blynclight cube.
$oBlynclightController.aoDevInfo_LumenaHeadsetButtonControlInterface[1]
szDevicePath : \\?\hid#vid_2c0d&pid_0005&mi_03&col02#8&29f91656&0&0001#{4d1e55b2-f16f-11cf-88cb-001111000030} szDeviceName : BLYNCUSB_HEADSET_LUMENA120 DEVICE byDeviceType : 8 pHandle : 4252 nDeviceIndex : 1 oNativeOverlapped : Blynclight.DeviceAccessDeclarations+OVERLAPPED psOverlapped : 0 It appears there might be a way to use the "pHandle", but I am not sure where to go from here. I am trying to detect when the mute button is pressed, the busy button state, the on/off hook button state, and possibly even the up/down volume button presses. Besides querying for state, can these states actually be changed from the SDK, such as pressing the mute button, pressing the busy button, pressing the on/off hook button.
Is there another object type for creating the Lumena headset button controller?
|
|