Star Wars yoke w/adapter help needed.
-
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
-
@wstanek Does it register when you run
jstest /dev/input/js0
in the terminal? -
What I think of when I hear "Star Wars Yoke"...
-
-
-
-
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.
-
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
-
@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. -
@wstanek If you figure this out we will give you the Wookiee of the Year award.
-
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
-
@wstanek Did you actually get helped? If I interfered, I apologise. You NEED help...
-
@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.
-
-
@AlexMurphy I don't get that one.
-
@caver01 Nah, it was just the penguin from Antarctic Adventure gone rogue... I thought it was funny, anyway.
-
@AlexMurphy Oh, it's funny. I just didn't recognize the character. I guess I need to lookup Antarctic Adventure.
-
@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.
-
-
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.