Skip to content

[Control Settings] PS4 controller buttons show as Xbox buttons聽#20

Description

@pedropaulosuzuki

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.

Steps to reproduce

SuperTuxKart 1.5 - Flatpak

Configuration

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

Error message

Log File (stdout.log)

No response

Input Configuration (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>

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions