Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

GamePad A, B, X, Y button presses are not going through #294

Open
bindusadu opened this issue Oct 3, 2018 · 1 comment
Open

GamePad A, B, X, Y button presses are not going through #294

bindusadu opened this issue Oct 3, 2018 · 1 comment

Comments

@bindusadu
Copy link

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

@WilliamsJason
Copy link
Contributor

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).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants