skmp / reicast-emulator

Reicast was a multiplatform Sega Dreamcast emulator
https://reicast.emudev.org
Other
1.1k stars 346 forks source link

xbox 360 controller not working in reicast on raspberry pi 2 #634

Open JefroB opened 9 years ago

JefroB commented 9 years ago

xbox 360 controller not working in reicast on raspberry pi 2. My controller works great in every other emulator I've tried. In Reicast, the left analog stick works, but the button mapping is completely hosed. The start is mapped to one of the shoulder buttons. I can only get the dpad (down only) to map to button a, if I use the --dpad-as-button flag when starting xboxdrv. None of the other buttons seem to do anything. I've tried both wired and wireless controllers, both gamestop controllers and microsoft ones.

--- Want to back this issue? **[Post a bounty on it!](https://www.bountysource.com/issues/10930518-xbox-360-controller-not-working-in-reicast-on-raspberry-pi-2?utm_campaign=plugin&utm_content=tracker%2F500311&utm_medium=issues&utm_source=github)** We accept bounties via [Bountysource](https://www.bountysource.com/?utm_campaign=plugin&utm_content=tracker%2F500311&utm_medium=issues&utm_source=github).
AbandonedCart commented 9 years ago

Have you tried remapping the controller? I don't know if the GUI has been added for the Pi, but it sounds like a conflict with the required mapping for Android.

The shoulder button is set to start because the shoulder button has no "dedicated" function when there are triggers. That is due to the fact that not all controllers have a start button.

Try to remember that this is a multiplatform emulator that attempts to support a lot of different hardware. It isn't going to be plug and play in every single scenario.

JefroB commented 9 years ago

That's the thing, I can't get to the GUI with all the buttons being screwed up. The instructions here: http://forums.reicast.com/index.php?topic=72.0 (which is all I could find) say to hit back, menu, select to bring up the GUI. I can't do that as only two buttons are working on my controller. Unless of course there is another way to bring up the GUI that I'm not seeing.

rndmsfree commented 8 years ago

@Labelwhore - I don't know if you ever figured this out, but I'm having the same problem on my 360 controller, more or less. Apparently the Dreamcast controller had no real Select button, so I can't enter the GUI remapping menu (which is Select-X, I believe). Only the D-pad, left analog stick, and ?Y button work. Start is mapped to a left analog stick press for some reason and pushing the xbox button it takes me out of the game (as if I hit start and select together).

You ever figure this out?

That's the thing, I can't get to the GUI with all the buttons being screwed up. The instructions here: http://forums.reicast.com/index.php?topic=72.0 (which is all I could find) say to hit back, menu, select to bring up the GUI. I can't do that as only two buttons are working on my controller. Unless of course there is another way to bring up the GUI that I'm not seeing.

JefroB commented 8 years ago

I did. Those instructions did not work. I ended up following some instructions here: https://github.com/retropie/RetroPie-Setup/wiki/Dreamcast

rndmsfree commented 8 years ago

My emu.cfg file points to the mapping here (rather than being the place to put the example 360 mapping from wiki link you posted):

evdev_mapping_1 = /opt/retropie/configs/dreamcast/mappings/controller_XboxGamepad(userspacedriver).cfg

Not sure it matters. I'll play with it. (It's really annoying that the filename uses parenthesis - I had to look up how to deal with those from the command line.)

Thanks for your response.