WindowsDevicePortalWrapper
WindowsDevicePortalWrapper copied to clipboard
GamePad A, B, X, Y button presses are not going through
byte[] array = new byte[] { 0x01, 0xC4, 0x01, 0x00 }; - sending this byte array does not activate gamepad B Using similar byte array message for moveDown (VK_GAMEPAD_DPAD_DOWN | 0xCC) works as expected.
Reference - https://docs.microsoft.com/en-us/windows/uwp/xbox-apps/uwp-remoteinput-api
Can you try sending { 0x01, 0xC4, 0x01 } followed by { 0x01, 0xC4, 0x00 } ? I believe with some gamepad buttons actions happen on button up instead of button down, and that first message will send the press, but the button won't get the associated release (I believe it will get released when the websocket is closed still though).