Hey! Just bought Raspberry Pi B+, and got it yesterday. Flashed a micro SD card with PiPlay, booted it up, and it seems to work fine. But I didn't think it all through. My keyboard is wireless, and I have no other usb keyboards, so I thought "maybe it recognizes my Hitbox arcade stick, and I can navigate with that?". That didn't really work. I am getting a usb keyboard today to fix that, but it did raise another question for me: I want to have my Pi portable, so that I can bring it to other friends of mine who also have arcade sticks. But will they not be able to plug them in and play with them? Or will my Hitbox settings be saved [between each time I use the Pi], so that I can use my Hitbox to set up my friends arcade sticks?
I got a keyboard, and changed the controllers to the game systems themselves, but not within the piplay os itself. When i plug out the keyboard, i can not navigate the piplay menu. How can I set up my hitbox as a controller to the manu? ^^ sorry if this is really obvious.
Hm. I don't know if this is a related issue, but it seems the Arcade Stick that comes with the system doesn't automatically have the joystick/arcade stick mapped to navigate the menu. Using a keyboard to enter the Controller Setup app, I know the controls themselves work and register, but it still won't navigate the menu. Editing controller.yaml (in pico/nano) doesn't help much because I'm not sure which values to put in under the JOYSTICK: config.
(For reference, the arcade stick that came with my PiPlay is a Mayflash PS2/PS3/PC USB Fighting Stick.)
Hmm. No go there (before and after recalibrating the controls via the controller setup app). Same thing - the joystick/arcade stick can calibrate the controls for the emulators, but no menu love.
I should note that the buttons themselves work, but the stick does not. (It also does not seem to work in Cave story at all, but that seems to be keyboard-controlled only, no buttons work there). I haven't tried a gamepad since the only ones I have are Bluetooth or a wireless 360 pad (with pc dongle).
Thanks ian57, but how do I edit the controller.ymla file so that it understands I want to use the Hitbox? The Keyboard constants are there, but I want the buttons on the Hitbox to be associated with the keyboard constants.
use evtest program to see what event it gives and if it is recognised at all. After seeing the hitbox website, i don't think the hitbox will behave like a keyboard, but like a joystick.
So use jstest to see if your hitbox is recognised and find in the controller.yaml the section related to joystick input.
Is there a faq for this? Cause when i google evtest and jstest with piplay, there are quite a few topics about this. And for someone like me, its hard to know what "use evst" means, and how to use it properly :p
The hitbox does work whe i registrer the buttons at the TAB menu, so I know it gives some output :)
I have also gotten roms to work (why are there a filepath to home/pi/pimame/roms/mame4all when they should be placed in home/pi/pimame/emulators/mame4all-pi/roms ?).
Now it is just a matter of getting my controller to work. When entering my buttons on my controller in jstest, they all work (see previous post) but some of them do not register when I use the ingame controller config in mame4all. Is there any reason why that is? And help is very much appreaciated :) (oh, and of course, I still have no idea of how to use my controller to controll the piplay menu)
Edit: Now I am totally mindblown. When I first tried the roms, I put them in the /roms/mame4all folder, and the ones I tried gave me the "files missing" error message. Then I put some of them in the /mame4all-pi/roms folder, and suddenly they worked. So now I deleted the first ones from the /roms/mame4all folder, and put them all in the /mame4all-pi/roms folder, and piplay tells me there are no roms there. So currently, I am putting all the roms, in both the folders. :p #idonteven
ok, so controller.yaml is divided into 2 parts, joystick and keyboard. you will just deal with the upper portion (joystick). set "menu: 8" to set it to your home button. You shouldn't be messing with any of the parts that are underneath the KEYBOARD: identifier
I copypasted that into my own controller.yaml, and it booted up fine. The SELECT, BACK, MENU and Quit buttons work fine. But the horizontal and vertical axis buttons do not. I also checked mame4all button config, and all of my buttons register, with the exeption of the horizontal and vertical buttons.
But also, the two buttons on the bottom row of the 8 normal ones, register as axis buttons. The x's are buttons that register as normal buttons, the o's are the buttons that register as axis buttons. [ joystick x x x x ] [ joystick x x o o ]
mame4all is completely independent of controller.yaml. The controller.yaml file is only for the piplay menu. What it sounds like to me, is that something is wired incorrectly. Was this a pre-built controller or did you wire it yourself? I don't really have a whole lot of experience in this area, so if someone else has any ideas?
Yes, my next line of troubleshooting is to test with a "normal" stick.
The one thing that irks me is that when I press the buttons, they show up in jstest as being pressable and are assigned buttons. But PiPlay just don't want to recognize them.