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

lr-mame2003 Marble Madness with DualShock 4 analog stick?

Scheduled Pinned Locked Moved Help and Support
dualshock 4lr-mame2003marble madnessanalog sticktrackball
9 Posts 4 Posters 1.8k 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.
  • B
    bland328
    last edited by 8 Feb 2018, 17:40

    I'm fairly new to RetroPie and MAME, but I do grasp the differences between absolute and relative controllers, and how an analog stick is dissimilar to a trackball.

    That said, I imagine (though maybe I'm wrong!) an effective way to play Marble Madness under lr-mame2003 with a DualShock 4 controller would be to map an analog stick (or, while I'm at it, both analog sticks) in such a way that pushing one a little in a given direction emulates spinning a trackball slowly in that direction, and pushing one a lot in a given direction emulates spinning a trackball rapidly in that direction.

    Perhaps I'm merely inexperienced enough with RetroPie and MAME at this point that I can't determine the right search terms, but I haven't been able to find anyone else discussing anything like this.

    Can anyone point me in the right direction? Do I need to make the PS4 analog stick data look like mouse input somehow, so that I can then map that to trackball input? I'm open to switching to another flavor of MAME, if it helps.

    Thanks very much!

    M 1 Reply Last reply 8 Feb 2018, 20:24 Reply Quote 0
    • M
      mediamogul Global Moderator @bland328
      last edited by mediamogul 2 Aug 2018, 20:25 8 Feb 2018, 20:24

      @bland328 said in lr-mame2003 Marble Madness with DualShock 4 analog stick?:

      I imagine... an effective way... would be to map an analog stick... in such a way that pushing one a little in a given direction emulates spinning a trackball slowly in that direction, and pushing one a lot in a given direction emulates spinning a trackball rapidly in that direction.

      This is how I have my my controls set in AdvanceMame and the game plays beautifully with that level of control. There, I have my thumbsticks mapped to mouse movement, but there might be an easier way in lr-mame2003. @caver01 recently stated that anaolg controls have recently changed in that core and are yet undocumented, so he'd definitely be the one to ask. If you do end up having to map mouse movement to your controller, a guide tailored to RetroPie can be found here.

      RetroPie v4.5 • RPi3 Model B • 5.1V 2.5A PSU • 16GB SanDisk microSD • 512GB External Drive

      C 1 Reply Last reply 8 Feb 2018, 21:14 Reply Quote 0
      • C
        caver01 @mediamogul
        last edited by 8 Feb 2018, 21:14

        @mediamogul and @bland328 The RetroArch updates for analog control ARE documented, but those updates appear here in the wiki, and these changes have not been moved over into the "pretty" version of the docs linked in the menus of this website. I think @herb_fargus has to migrate updates manually which is probably a PITA if updates don't follow certain style standards.

        My 4-player cocktail style cabinet built as a custom "roadcase"

        M 1 Reply Last reply 8 Feb 2018, 21:31 Reply Quote 0
        • M
          mediamogul Global Moderator @caver01
          last edited by 8 Feb 2018, 21:31

          @caver01 said in lr-mame2003 Marble Madness with DualShock 4 analog stick?:

          The RetroArch updates for analog control ARE documented... and these changes have not been moved over into the "pretty" version of the docs

          Ah, good to know. I've been curious as to what the changes are.

          RetroPie v4.5 • RPi3 Model B • 5.1V 2.5A PSU • 16GB SanDisk microSD • 512GB External Drive

          1 Reply Last reply Reply Quote 0
          • D
            dankcushions Global Moderator
            last edited by 9 Feb 2018, 08:11

            as far as i know there is no way of mapping analog sticks to spinner/mouse controls in mame2003. it would be cool, yes.

            M 1 Reply Last reply 9 Feb 2018, 08:15 Reply Quote 0
            • M
              mediamogul Global Moderator @dankcushions
              last edited by mediamogul 2 Sept 2018, 08:25 9 Feb 2018, 08:15

              @dankcushions

              Wouldn't mapping mouse movement to the stick with an external mapping solution do the job, same as AdvanceMame?

              Edit: nm, it looks like you meant natively.

              RetroPie v4.5 • RPi3 Model B • 5.1V 2.5A PSU • 16GB SanDisk microSD • 512GB External Drive

              D 1 Reply Last reply 9 Feb 2018, 09:57 Reply Quote 0
              • D
                dankcushions Global Moderator @mediamogul
                last edited by 9 Feb 2018, 09:57

                @mediamogul oh, sure yeah if there's some external tool that can map an analogue input to a mouse one then yeah, i guess that should work!

                1 Reply Last reply Reply Quote 0
                • B
                  bland328
                  last edited by 11 Feb 2018, 03:01

                  Thanks for the responses, all! So, my understanding of the situation at this point is that my options are:

                  a) Use AdvanceMame instead, or
                  b) Use lr-mame2003 with some external tool that turns DualShock 4 analog stick activity into mouse movement

                  I hope I have that straight. I'll report back on what does/doesn't work!

                  M 1 Reply Last reply 11 Feb 2018, 03:40 Reply Quote 0
                  • M
                    mediamogul Global Moderator @bland328
                    last edited by 11 Feb 2018, 03:40

                    @bland328

                    Actually, in both cases you'd need an external tool. I use xboxdrv, as outlined in the guide I linked to above. Having analog movement available on the stick comes in handy for everything from 'Marble Madness' to 'Spy Hunter'. It's especially nice in 'Centipede', where you're normally all over the place much too quickly with digital controls.

                    RetroPie v4.5 • RPi3 Model B • 5.1V 2.5A PSU • 16GB SanDisk microSD • 512GB External Drive

                    1 Reply Last reply Reply Quote 0
                    6 out of 9
                    • First post
                      6/9
                      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.

                      This community forum collects and processes your personal information.
                      consent.not_received