Main > Raspberry Pi & Dev Board
Does the Ultrastik 360 work with a Pi?
mahuti:
By the way, I thought I should mention, if you feel you need to test your stick, here's a good way to go about it:
First, connect to the pi via SSH from another computer. Open up two windows... (two SSH logins) In the first window, you'll use the rgbcommanders test utility, in the second, you'll use linux's joystick tester to see the results of your changes.
Open up rgbcmdcon in one window... this is a testing app that comes with rgbcommander
--- Code: ---/usr/sbin/rgbcommander/rgbcmdcon
--- End code ---
once that's open, type the ? and you'll get a list of commands.
to set the joystick to a certain mode, type
--- Code: ---set,stick,21
--- End code ---
which sets it to analog.
In the other terminal window
--- Code: ---jstest /dev/input/js0
--- End code ---
then move the joystick around. You'll see the values that are being output. They'll change based on the mode. 4-way only sets values one at a time... analog will change multiple axes values at the same time. You can change the mode in one window, then use the other window to see what the stick is doing. This isn't something that's needed often, but it can help troubleshoot when nothing seems to be working correctly. If you are using multiple joysticks, you might have to test js0 or js1 or js2 (example: jstest /dev/input/js1). If you're just using the one joystick it will be js0.
soonerdoc:
That is amazing. Can't tell you how much appreciate the time it took you to post all that. Thank you.
Seems a little daunting but the way you explained it is pretty clear. Gonna order the stick and give it a try.
Browsing the ultra stick 360 website the windows software seems pretty easy with the GUI. Is the Linux software as easy (for actually mapping the joystick)?
Mike A:
Mahuti is a helpful dude.
mahuti:
--- Code: ---Is the Linux software as easy (for actually mapping the joystick)?
--- End code ---
If I recall, there is no GUI on the linux side. The software was for changing maps and setting modes. But there's no GUI as far as I recall. If you wanna make maps, you have to edit them by hand, or use a Mac or PC. Linux is definitely limited in what It can do with retro emulation compared to the PC
I would be interested to see some of the real world joystick maps that people have created besides the included ones. I'm not saying that there's not another map that could be created, but after having messed with the mapping tool, I haven't bothered to use it again. It would be great to see some other real world uses of that tool.
--- Code: ---Mahuti is a helpful dude.
--- End code ---
I do what I can. :cheers:
soonerdoc:
OK. Another question.
Got RGB Commander installed. Seems to be working correctly. U360 just came back in stock and is on its way. Looks like all of the maps I would need are preinstalled, so that is good. Won't have to worry about creating new maps. Two questions.
1. Because I have an 11 button setup, if I use the INPUT mode with the buttons, I would have to sacrifice 3 buttons in my setup. Can I use my current 2 player Xin-Mo controller with this? I would want to use the current button connectors on the xin-mo and then connect the U360 to 4 direction connecters to the xin-mo using the optional harness. I would connect the USB also. Would this give me the ability to have all 11 buttons AND still use the USB for mapping the joystick (for qbert)? Or am I going to need to forget about the xin-mo and just use the U360 and its 8 buttons?
2. I am planning on starting with a single U360 to test it out. Because of the way my control panel is laid out, I am probably going to want the U360 joystick to be on the player TWO control (because it is more centered in relation to the screen for single joystick games like qbert). So I will keep the xin-mo and its buttons for player one and use the U360 for player two using whatever method works best from my first question. If this is doable, what changes need to be made in RGBCommander so that it is configured properly and sees that the U360 is player two controller so that it auto switches to the correct maps on a per rom basis?
Hope this made sense.
Navigation
[0] Message Index
[#] Next page
[*] Previous page
Go to full version