Open visko83 opened 1 year ago
You use outdated version (over a year old)
Please update your app.
Ubuntu does not have updated version in repository.
Hi @pktiuk, thank you for picking up the issue. Unfortunately upgrade didn't help, it's the same. Current version: Program Version 3.3.4 Compiled from packaging: GitHub Release Built Against SDL 2.0.20 Running With SDL 2.26.3 Using Qt 5.15.8 Using Event Handler: uinput Compositor type: wayland Host OS: ubuntu Version: 23.04 Architecture: x86_64
Cloud you collect some logs
Hi Pawel, please find the log attached. Also let me note that there is a typo in the wiki page mentioned (log file name: amtimicrox > antimicrox) amtimicrox.log
DPad Down as Axis 1 DPad Right as Axis 2
Does it mean, that Right and Down button presses are not detected at all?
Are they detected in the window Options->Properties
?
How are DPad button presses detected in that window?
The button presses are detected because in Controller Mapping there's a clear difference when I press e.g. DPad Left/Right (Axis 1: -32768/32767). But in Options->Properties there's no indication for DPad Left/DPad Up button presses - only DPad Right / Down are detected (it aligns with the bug's description).
I was curios if anything is different on Windows 11 and yes: Controller Properties does recognize all DPad buttons (12 - Up, 13 - Down, 14 - Left, 15 - Right). But Controller Mapping is still the same, the axes are slightly different (Axis 4 for horizontal, Axis 5 for vertical axis). But It is still not possible to map DPad left / DPad up (Axis 4: -32768 / Axis 5: -32768), it is only possible to assign DPad right / down (Axis 4: 32767, Axis 5: 32767).
I was curios if anything is different on Windows 11 and yes: Controller Properties does recognize all DPad buttons (12 - Up, 13 - Down, 14 - Left, 15 - Right).
Different detection on Win 11 and other systems may be caused by bug/another implementation in underlying SDL library which is uded by AntiMicroX.
Is there an existing issue for this?
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 )
Environment
Anything else?
No response
Upvote & Fund