Navigation

    RetroPie forum home
    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Popular
    • Home
    • Docs
    Please do not post a support request without first reading and following the advice in https://retropie.org.uk/forum/topic/3/read-this-first

    Trust GXT 540 Xbox Controller

    Help and Support
    gxt 540 trust xbox contr xboxdrv xpad
    2
    8
    79
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • w0hn0h
      w0hn0h last edited by w0hn0h

      Anyone else have this controller? I've got most of the buttons mapped correctly during setup except the right analog stick, it says 'already taken'. I´m pretty new to Retropie, but familiar with linux and Raspberry pi stuff for a few years now.

      Found this old thread but not much help as it´s very old.

      They've got a switch on the underside for X-input mode vs Direct input mode.

      Any help would be appreciated.

      RPI4
      official psu
      RetroPie Version Used retropie-buster-4.7.1-rpi4_400.img
      Built From: Pre made SD Image on RetroPie website
      USB Devices connected: Trust GXT 540 Wired usb controller , mouse, keyboard
      Controller used: Trust GXT 540 Wired usb controller.
      Error messages received:
      Verbose log (if relevant):
      Guide used: (Mention if you followed a guide)
      File: (File with issue - with FULL path)
      Emulator: (Name of emulator - if applicable)
      Attachment of config files: (PLEASE USE PASTEBIN.COM FOR LARGE LOGS)
      How to replicate the problem: connect controller, run through input configuration menu

      1 Reply Last reply Reply Quote 0
      • mitu
        mitu Global Moderator last edited by

        Check if the controller recognized by Linux - test it with jstest /dev/input/js0 from the command line and see if the inputs are registering.

        w0hn0h 1 Reply Last reply Reply Quote 0
        • w0hn0h
          w0hn0h last edited by

          @mitu So running jstest from the cli gives output of Axes: 0-5 and Buttons 0-12 as following.
          Just so there's no confusion here's a link to the controller page from the manufacturer in case any of the button names or placements I've described are unclear.

          Axes:
          0: left thumbstick horizontal
          1: left thumbstick vertical
          2: right thumbstick horizontal
          3: right thumbstick vertical
          4: dpad horizontal
          5: dpad vertical

          Buttons:
          0: Y button (north)
          1: B button (east)
          2: A button (south)
          3: X button (west)
          4: left paddle
          5: right paddle
          6: left trigger
          7: right trigger
          8: select button
          9: start button
          10: left thumbstick push
          11: right thumbstick push
          12: home button

          1 Reply Last reply Reply Quote 0
          • w0hn0h
            w0hn0h @mitu last edited by

            @mitu so here's a curious thing, when first running jstest the buttons map to strange combinations, such as the right analogue thumbstick triggering buttons 0-3. Then after a while it "settles down" to the mappings I wrote above.
            Any idea what gives?
            okay I just noticed.....................apparently hitting the home button switches the mappings.

            mitu 1 Reply Last reply Reply Quote 0
            • mitu
              mitu Global Moderator @w0hn0h last edited by

              Do the right and left joystick produce different axis ? The 'already taken' message appears when the inputs have already been mapped - hinting that the right joypad maps to an already mapped axis (left joystick maybe ?).

              w0hn0h 1 Reply Last reply Reply Quote 0
              • w0hn0h
                w0hn0h @mitu last edited by

                @mitu so I think it's solved for now! Knowing that the 'home' button switches between layouts was the missing piece to get the right thumbstick working correctly.
                What exactly is the last input selection "hotkey" used for?

                I wouldn't have gotten here without knowing about jstest however so I thank you kindly.

                Is there a good guide to how to map the controls for each different emulator? or how do people go about configuration from this point?

                1 Reply Last reply Reply Quote 0
                • mitu
                  mitu Global Moderator last edited by

                  @w0hn0h said in Trust GXT 540 Xbox Controller:

                  What exactly is the last input selection "hotkey" used for?

                  https://retropie.org.uk/docs/Controller-Configuration/#hotkey

                  Is there a good guide to how to map the controls for each different emulator? or how do people go about configuration from this point?

                  Configuring the controller in EmulationStation should be enough for start, this generates the proper configuration for RetroArch based emulators and a few other standalone emulators. If you find that you want to modify the mapping for a particular system or game - see https://retropie.org.uk/docs/RetroArch-Configuration/#core-input-remapping (the entire page is also a good start for understanding how input configuration works for RetroArch).

                  w0hn0h 1 Reply Last reply Reply Quote 0
                  • w0hn0h
                    w0hn0h @mitu last edited by

                    @mitu thanks for all your help!

                    1 Reply Last reply Reply Quote 0
                    • First post
                      Last post

                    Contributions to the project are always appreciated, so if you would like to support us with a donation you can do so here.

                    Hosting provided by Mythic-Beasts. See the Hosting Information page for more information.