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

    Star Wars yoke w/adapter help needed.

    Scheduled Pinned Locked Moved Help and Support
    star wars yokeusb adapter
    28 Posts 5 Posters 8.0k 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.
    • W
      wstanek
      last edited by

      Anyone have experience getting a Star Wars yoke working on retropie? I have the RC reproduction and USB adapter. I can see it working with evtest /dev/input/event0 but not sure how to tie that into advmame.

      ws

      Latest Build: https://retropie.org.uk/forum/topic/23649/mad-planets-cabinet-build-finished?_=1578928113680

      AlexMurphyA 1 Reply Last reply Reply Quote 0
      • AlexMurphyA
        AlexMurphy Banned @wstanek
        last edited by

        @wstanek Does it register when you run jstest /dev/input/js0 in the terminal?

        1 Reply Last reply Reply Quote 0
        • AlexMurphyA
          AlexMurphy Banned
          last edited by

          What I think of when I hear "Star Wars Yoke"...
          0_1496167045003_swy.jpg

          mediamogulM 1 Reply Last reply Reply Quote 3
          • mediamogulM
            mediamogul Global Moderator @AlexMurphy
            last edited by

            @AlexMurphy

            alt text

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

            AlexMurphyA 1 Reply Last reply Reply Quote 2
            • AlexMurphyA
              AlexMurphy Banned @mediamogul
              last edited by

              @mediamogul
              0_1496167653138_swyb.jpg

              AlexMurphyA mediamogulM 2 Replies Last reply Reply Quote 0
              • AlexMurphyA
                AlexMurphy Banned @AlexMurphy
                last edited by

                0_1496168223559_swyb2.jpg

                1 Reply Last reply Reply Quote 3
                • mediamogulM
                  mediamogul Global Moderator @AlexMurphy
                  last edited by mediamogul

                  @AlexMurphy

                  I'm trying to resist the urge to post like three more Star Wars breakfast examples for fear that we'll never get this thread back on track. However, it would be irresponsible of us not to at least mention to any kids out there that all this is only part of a complete breakfast.

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

                  1 Reply Last reply Reply Quote 2
                  • W
                    wstanek
                    last edited by

                    Oh, yes it does! gives a ± range on two axes and also 4 button registers.

                    I have it temporarily hooked up to a machine with a trackball so I had gone through the exercise of adding trackball input maps in the .rc file. I forget where I saw it, but one usb listing showed it as event0 so thats why I got led down that path.

                    so in the .rc does it go something like:
                    input_map[p1_stickx] joystick[0,0,x]

                    nothing seems to happen under 'auto' but star wars can be controlled with the trackball if that is interfering.

                    thanks

                    Latest Build: https://retropie.org.uk/forum/topic/23649/mad-planets-cabinet-build-finished?_=1578928113680

                    caver01C 2 Replies Last reply Reply Quote 0
                    • caver01C
                      caver01 @wstanek
                      last edited by

                      @wstanek If it is working with trackball, try mapping that input:
                      input_map[p1_trackballx] joystick[0,0,x]
                      and the same for Y axis--or something similar. The trick with AdvMAME is to figure out which index MAME is seeing your hardware. You can use the command line utilities such as advm, advj, then move your controls and see what the utilities are detecting. Then, you reference those hardware inputs in the .rc file. You can follow similar advmame testing as described in this wiki for trackballs.

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

                      1 Reply Last reply Reply Quote 0
                      • caver01C
                        caver01 @wstanek
                        last edited by caver01

                        @wstanek If you figure this out we will give you the Wookiee of the Year award.

                        alt text

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

                        1 Reply Last reply Reply Quote 3
                        • W
                          wstanek
                          last edited by

                          OK got it, thank you for the help!

                          advj revealed inputs at joystick 2 (not sure what was happening at 0 and 1)
                          Mapped joystick [2,0,x] to trackball as you suggested and it worked!

                          I was stumped for a minute when /opt/retropie/emulators/advmame/1.4/bin/advj did not fire, I had just updated to 4.2 and seemed to remember reading somewhere that advmame had consolidated directories so I tried /opt/retropie/emulators/advmame/bin/advj which fired. lucky.

                          Thank you forum, now a step closer to grail games star wars, esb, etc. Building a cab from scratch to go along with my collection of pi cabs.

                          ws

                          0_1496180049586_Screen Shot 2017-05-30 at 4.56.25 PM.jpeg

                          Latest Build: https://retropie.org.uk/forum/topic/23649/mad-planets-cabinet-build-finished?_=1578928113680

                          AlexMurphyA caver01C 2 Replies Last reply Reply Quote 2
                          • AlexMurphyA
                            AlexMurphy Banned @wstanek
                            last edited by

                            @wstanek Did you actually get helped? If I interfered, I apologise. You NEED help...

                            W 1 Reply Last reply Reply Quote 0
                            • caver01C
                              caver01 @wstanek
                              last edited by

                              @wstanek You might already know this, but you can add a prefix in front of these trackball lines for the games to which they apply. For example:

                              esb/input_map[p1_trackballx] joystick[2,0,x]
                              esb/input_map[p1_trackbally] joystick[2,0,y]
                              starwars/input_map[p1_trackballx] joystick[2,0,x]
                              starwars/input_map[p1_trackbally] joystick[2,0,y]
                              

                              which will make these trackball configurations only apply to esb and starwars ROMs. This effectively overrides an existing trackball mapping config you might have elsewhere in the file and would allow you to play other games that you may not want to map to the yoke.

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

                              AlexMurphyA W 2 Replies Last reply Reply Quote 0
                              • AlexMurphyA
                                AlexMurphy Banned @caver01
                                last edited by

                                @caver01 0_1496182554577_peng.png

                                caver01C 1 Reply Last reply Reply Quote 0
                                • caver01C
                                  caver01 @AlexMurphy
                                  last edited by

                                  @AlexMurphy I don't get that one.

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

                                  AlexMurphyA 1 Reply Last reply Reply Quote 0
                                  • AlexMurphyA
                                    AlexMurphy Banned @caver01
                                    last edited by

                                    @caver01 Nah, it was just the penguin from Antarctic Adventure gone rogue... I thought it was funny, anyway.

                                    caver01C 1 Reply Last reply Reply Quote 0
                                    • caver01C
                                      caver01 @AlexMurphy
                                      last edited by

                                      @AlexMurphy Oh, it's funny. I just didn't recognize the character. I guess I need to lookup Antarctic Adventure.

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

                                      AlexMurphyA 1 Reply Last reply Reply Quote 0
                                      • AlexMurphyA
                                        AlexMurphy Banned @caver01
                                        last edited by

                                        @caver01 Sorry. I don't mean to say stuff you don't get. It was just an inside / personal joke. Ignore me. I'm only messing, dude.

                                        caver01C 1 Reply Last reply Reply Quote 0
                                        • caver01C
                                          caver01 @AlexMurphy
                                          last edited by

                                          @AlexMurphy said in Star Wars yoke w/adapter help needed.:

                                          Ignore me.

                                          Ok, I can do that! ;-)

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

                                          AlexMurphyA 1 Reply Last reply Reply Quote -1
                                          • AlexMurphyA
                                            AlexMurphy Banned @caver01
                                            last edited by AlexMurphy

                                            @caver01 0_1496184673692_2face.jpg

                                            caver01C 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.