I want to assign Xbox One X D-Pad Right to the number 1 on keyboard, but how?
I want to assign Xbox One X D-Pad Right to the number 1 on keyboard, but how?
I've tried the joy::1 thing but it does not work.
Re: I want to assign Xbox One X D-Pad Right to the number 1 on keyboard, but how?
The D-pad cannot be set up as a hotkey like the controller buttons can be. Its state needs to be checked using GetKeyState() like the other analog elements of a control (triggers, for example). See the Joystick section of the documentation.