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

    Controller input from ES different from RetroArch

    Scheduled Pinned Locked Moved Help and Support
    controllerinputautoconfig
    3 Posts 2 Posters 708 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
      Linser22
      last edited by Linser22

      Hello all, I’ve been trying to get the the Atari VCS Classic Joystick to work with Retropie. The controller successfully connects via Bluetooth with the name “Classic Controller”. I’m able to set the buttons in ES as;
      0 -> a
      1 -> b
      2 -> start
      3 -> select
      4 -> x

      But when I enter any lr core the buttons are completely different;
      a -> b
      b -> start
      Start -> select
      Select -> x
      x -> ?

      Here’s the controller config file;
      8FF89DE2-06FE-4B0D-90DB-09E25C1E37A4.jpeg

      Bonus question:

      I’d like to map the spinner to mouse movement so I can use it in Mame and stuff, is that possible?

      The joystick designed in a way where it it spins from zero to 1 to -1 back to zero so will a script need to be written to convert it to spin right is +x? Sorry I’ve never done something like that before. Hopefully this image helps.

      CE66C99C-D556-4FE0-8841-36260D76C770.jpeg

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

        Please add some info about your setup, as detailed in https://retropie.org.uk/forum/topic/3/read-this-first.

        Do you have any input remapping in place ? Which core did you load and checked the controls ?

        I’d like to map the spinner to mouse movement so I can use it in Mame and stuff, is that possible?

        Is the spinner detected by Linux ? Run cat /proc/bus/input/devices and post the output, leave only the controller connected so we can see how it's detected.

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

          @mitu

          Hey sorry for the lack of information I sometimes forget there can be a verity of variables. I’m nowhere near my Pi at the moment so I’ll give the information I know now, and once I get to my Pi I’ll share the rest.

          Pi Model or other hardware: Raspberry Pi 4 B 4gb overclocked CPU 2Ghz

          Power Supply used: Not entirely sure at the moment, but my
          Pi is in the RetroFlag NesPi4 with the External usbs and Ethernet ports disconnected because of Bluetooth/WiFi interference

          RetroPie Version: I installed 4.7.1 to an SD card and regular update it in the Retropie script (I know I need to be exact, I’ll get this information as soon as possible)

          USB Devices connected: 1 terabyte SSD Sata to USB3

          Controller used: Official Atari VCS Classic Joystick

          I’ve only tested the two default RetroArch cores for NES and Genesis (I will find out exactly which ones later)

          In the RetroArch menu If I go into settings -> input -> ports1 (I think it’s called that), I see that the input device is set to classic controller and the inputs match the numbers of the buttons. EX: button 0 = ‘a’.

          Interestingly enough if I disconnect that controller while the game is running and connect a WiiU pro controller, the buttons remain messed up. (I tested this a long time ago so for the sake of assurance I’ll test this again). If I quit RetroArch swap controllers then open a RetroArch core buttons revert back to normal.

          I will test the joystick with that command in the terminal when I get a chance, but I did do jstest and the spinners seems to read like a joystick with a single axis.

          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.