RetroPie forum home
    • Recent
    • Tags
    • Popular
    • Home
    • Docs
    • Register
    • Login
    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

    Retrieve SDL2 joypad GUID in the shell?

    Scheduled Pinned Locked Moved Help and Support
    sdl2guidjoypadshell
    3 Posts 3 Posters 455 Views
    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.
    • L
      luckyluca
      last edited by

      Hi, I'd like to retrieve the joypad GUID from the shell.
      Not unlike running 'jstest /dev/input/js0', but ideally showing the GUID value, as you would expect as seen in gamecontrollerdb.txt

      Any idea what command I would need to run, or what source need to compile and run?

      Many thanks!

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

        The testjoystick program from SDL is similar to jstest and outputs the GUID of the device being tested.

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

          @mitu

          great, many thanks!

          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.