I know that I can get the button status through the method under Windows.Gaming.Input
, but I can't get the USB command sent by the gamepad, because the gamepad has some non-standard functions, such as multiple key mappings, I need to get the current mapping.
GipGameControllerProvider.SendReceiveMessage
looks like what I want, but calling it will get an error: the request is not supported (exception from HResult: 0x80070032).
This is a related question:How to communicate with Xbox one controller in uwp
Thank you for reading and have a good day!
User contributions licensed under CC BY-SA 3.0