antimicrox
antimicrox copied to clipboard
USB gamepad controller mapping DPad is fully possible
Is there an existing issue for this?
- [X] I searched the existing issues and did not find anything similar.
Current Behavior
I have a simple USB gamepad controller (NES controller). In AntiMicroX's Controller mapping I am unable to assign the DPad buttons. For a DPad button in the application, only an Axis can be set, but the position is ignored. I can only assign: DPad Down as Axis 1 DPad Right as Axis 2 for DPad Up/Left I can not assign the controller's DPad Up/Left button.
Expected Behavior
I should be able to assign axis with its position: DPad Up - Axis 2: -32768 DPad Down - Axis 2: 32767 DPad Left - Axis 1: -32768 DPad Right - Axis 1: 32767
Steps To Reproduce
With an USB gamepad controller (like https://www.amazon.com/Controller-Compatible-Raspberry-Retropie-Emulator/dp/B0BLYWHBH8/ref=sr_1_1?keywords=usb+gamepad+controller&qid=1688206451&sr=8-1 )
- click on Controller Mapping (bottom left)
- scroll down to DPad section, start with DPad Up
- click DPad Up on the controller -> nothing happens (last axis event is recognised as Axis 2: -32768)
- (you automatically get to the DPad Left cell) click DPad Left on the controller -> nothing happens (last axis event is recognised as Axis 1: -32768)
- (you automatically get to the DPad Down cell) click DPad Down on the controller -> recognised as Axis 2 (last axis event is recognised as Axis 2: 32767)
- (you automatically get to the DPad Right cell) click DPad Right on the controller -> recognised as Axis 1 (last axis event is recognised as Axis 1: 32767)
Environment
Program Version 3.1.4
compiled from packaging: 3.1.4-1 (Ubuntu hirsute/amd64)
Built Against SDL 2.0.14
Running With SDL 2.26.3
Using Qt 5.15.8
Using Event Handler: XTest
Anything else?
No response