[X] I searched the existing issues and did not find anything similar.
Current Behavior
When using the controller (SKU 1522782-01), one of the 4 center buttons does not work. However, it shows up in the logs and I can set it in the controller mapping section. The issue is that the Controller Mapping menu only allows for 3 buttons in the center (Back, Start, Guide) when this controller has 4 functional buttons (Button 9, Button 10, Button 13, Button 14).
Expected Behavior
All 4 center buttons should be mappable at the same time.
Steps To Reproduce
Connect a controller with SKU 1522782-01
Try to map the "Capture Button"
Notice that it does not light up any of the default buttons
Try to remap it in the Controller Mapping menu
Environment
Program Version 3.3.3
Program Compiled on Apr 26 2023 at 02:04:03
Built Against SDL 2.26.4
Running With SDL 2.26.4
Using Qt 5.15.8
Using Event Handler: XTest
Compositor type: x11
Host OS: arch Version: unknown Architecture: x86_64
Anything else?
Front face of controller with unmapped button that is detected:
Controller Mapping menu showing only 3 buttons that can be mapped:
It seems that this might be the max of the SDL GameController API. Could JoyButtonEvent be used to map additional buttons that a controller might have? In the logs, the button that is not mapped in Controller Mapping shows as a detected SDL_JOYBUTTONDOWN event:
Unmapped Button
[12:52:03.139] 🐞DEBUG Processing event: SDL_JOYBUTTONDOWN From joystick with instance id: 0 Got button with id: 13 is one of the GameControllers: true is one of the joysticks:false (file /src/inputdaemon.cpp:738)
[12:52:03.220] 🐞DEBUG Processing event: SDL_JOYBUTTONUP From joystick with instance id: 0 Got button with id: 13 is one of the GameControllers: true is one of the joysticks:false (file /src/inputdaemon.cpp:738)
Other buttons:
[12:51:33.776] 🐞DEBUG Processing event: SDL_CONTROLLERBUTTONDOWN From joystick with instance id: 0 Got button with id: 5 is one of the GameControllers: true is one of the joysticks:false (file /src/inputdaemon.cpp:738)
[12:51:33.777] 🐞DEBUG Processing event: SDL_JOYBUTTONDOWN From joystick with instance id: 0 Got button with id: 12 is one of the GameControllers: true is one of the joysticks:false (file /src/inputdaemon.cpp:738)
[12:51:33.828] 🐞DEBUG Processing event: SDL_JOYBUTTONUP From joystick with instance id: 0 Got button with id: 12 is one of the GameControllers: true is one of the joysticks:false (file /src/inputdaemon.cpp:738)
[12:51:34.029] 🐞DEBUG Processing event: SDL_CONTROLLERBUTTONUP From joystick with instance id: 0 Got button with id: 5 is one of the GameControllers: true is one of the joysticks:false (file /src/inputdaemon.cpp:738)
Upvote & Fund
If you find this issue important, mark it with 👍. It lets us see which fixes and features are demanded by the most users.
We're using Polar.sh so you can upvote and help fund this issue. It may incentivize some developers to contribute to this project and fix some bugs.
Funded developer receives the funding once the issue is completed & confirmed by you.
Thank you in advance for helping prioritize & fund our backlog.
Is there an existing issue for this?
Current Behavior
When using the controller (SKU 1522782-01), one of the 4 center buttons does not work. However, it shows up in the logs and I can set it in the controller mapping section. The issue is that the Controller Mapping menu only allows for 3 buttons in the center (Back, Start, Guide) when this controller has 4 functional buttons (Button 9, Button 10, Button 13, Button 14).
Expected Behavior
All 4 center buttons should be mappable at the same time.
Steps To Reproduce
Environment
Anything else?
Front face of controller with unmapped button that is detected:
Controller Mapping menu showing only 3 buttons that can be mapped:![image](https://user-images.githubusercontent.com/8166212/234643843-e7bbb287-eb94-4ea9-99bf-1a0a95b0935c.png)
It seems that this might be the max of the SDL GameController API. Could JoyButtonEvent be used to map additional buttons that a controller might have? In the logs, the button that is not mapped in Controller Mapping shows as a detected SDL_JOYBUTTONDOWN event: Unmapped Button
Other buttons:
Upvote & Fund