Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Control Settings] PS4 controller buttons show as Xbox buttons #5159

Open
pedropaulosuzuki opened this issue Aug 18, 2024 · 0 comments
Open

Comments

@pedropaulosuzuki
Copy link

Description

Screenshot from 2024-08-18 12-16-48

As seen in the picture above, a PS4 controller shows Xbox buttons in the controls configuration. Ideally, it should show 🟕㉧⮿🟗 instead.

Configuration

STK release version: 1.4

STK Source (PPA, distribution package, official binary, etc.): Flatpak - net.supertuxkart.SuperTuxKart 1.4

Gamepads/keyboards models if related to the issue: Dualshock 4 controller

Additional information

input.xml:

<input version="1">

<!--
Event 1 : Keyboard button press
    'id' indicates which button, as defined by irrlicht's EKEY_CODE enum
Event 2 : Gamepad stick motion
    'id' indicates which stick, starting from 0
    'direction' 0 means negative, 1 means positive
Event 3 : Gamepad button press
    'id' indicates which button, starting from 0
-->

<gamepad name ="PS4 Controller" deadzone="4096" desensitize="0" auto-center="20" force-feedback="1" enabled="true" configName="">
     <action name="steerLeft" event="2" id="0" direction="0" range="0" />
    <action name="steerRight" event="2" id="0" direction="1" range="0" />
    <action name="accel" event="2" id="5" direction="1" range="1" />
    <action name="brake" event="3" id="9" />
    <action name="nitro" event="2" id="4" direction="1" range="1" />
    <action name="drift" event="3" id="1" />
    <action name="rescue" event="3" id="4" />
    <action name="fire" event="3" id="3" />
    <action name="lookBack" event="3" id="10" />
    <action name="pauserace" event="3" id="6" />
    <action name="menuUp" event="2" id="1" direction="0" range="0" />
    <action name="menuDown" event="2" id="1" direction="1" range="0" />
    <action name="menuLeft" event="2" id="0" direction="0" range="0" />
    <action name="menuRight" event="2" id="0" direction="1" range="0" />
    <action name="menuSelect" event="3" id="0" />
    <action name="menuCancel" event="3" id="1" />
</gamepad>

</input>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant