HID services: Difference between revisions
Line 9,830: | Line 9,830: | ||
* "Starlink: Battle For Atlas" controller mount | * "Starlink: Battle For Atlas" controller mount | ||
** [[#BusType|BusType]] is 1 (RightJoyRail). | ** [[#BusType|BusType]] is 1 (RightJoyRail). | ||
** [[#GetExternalDeviceId|DeviceId]] is 0x28. | ** [[#GetExternalDeviceId|DeviceId]] is 0x28 ("Flight"). | ||
** EnableJoyPollingReceiveMode is used where the input buffer is an u16 with value 0x09, [[#JoyPollingMode]] = 0. SendAndReceive is called from 1 func. GetJoyPollingReceivedData is used to determine whether to call the same func which calls SendAndReceive, which is only done if <code>out_size==0x4 && data[0]==0x09 && (data[1] & 1 == 1)</code>. | ** EnableJoyPollingReceiveMode is used where the input buffer is an u16 with value 0x09, [[#JoyPollingMode]] = 0. SendAndReceive is called from 1 func. GetJoyPollingReceivedData is used to determine whether to call the same func which calls SendAndReceive, which is only done if <code>out_size==0x4 && data[0]==0x09 && (data[1] & 1 == 1)</code>. | ||