-
Notifications
You must be signed in to change notification settings - Fork 114
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Gamepad not working on Linux #181
Comments
Here's what it's supposed to look like: There's a "Nothing" option, which means nothing is connected to the port. There's a "Gamepad" option, which creates a new set of mappings based on the "Gamepad" template. There's an "XBox 360 Pad" option, which I created by choosing "Gamepad", then typing a new name, then selecting it in the left-hand panel and mapping my 360 pad to the various Famicom buttons. In the standard version of higan, the "Gamepad" template is stored in
I recommend filing an issue against the Gentoo package, trying the nightly build for Ubuntu (which probably works on Gentoo), or just building from source yourself. |
Yes, this is indeed the problem (and also the source of many other problems with Gentoo's build of Higan, e.g. not being able to find the ipl.rom or boards.bml files for the emulated systems). The current Gentoo ebuild puts all of these files under /usr/share/higan-$VERSION:
I will start taking a look at the ebuild to see if we can easily change the installation location from /usr/share/higan-$VERSION to ~./local/share/higan/. Is that the best solution or would @Screwtapello 's second bullet point ("patching the code to look for templates in a system-wide location") be the better approach? Cheers, |
Gentoo bug: Patch and modified ebuild provided there. Please feel free to review and let me know if you think that there's a better approach. |
I'm trying to use higan 9a625c5 from Gentoo's portage and I cannot get any input to work. I have tried udev, SDL, and Xlib. When I go to the Controller Port 1 option in Famicom, I get a -- Nothing in the box to the right.
I previously was able to use higan-106 with no problem.
From lsusb:
Bus 003 Device 003: ID 054c:0268 Sony Corp. Batoh Device / PlayStation 3 Controller
The joystick:
crw-rw-r--+ 1 root input 13, 0 Jun 30 19:18 /dev/input/js0
The usb file:
crw-rw-rw- 1 root joy 189, 258 Jun 30 19:18 /dev/bus/usb/003/003
I am in the input and joy groups. This device works with many programs (for example Mednafen).
I used gdb to determine that
SDL_JoystickOpen
does get called.I would be happy to help debug this issue if any more information or tests would help.
The text was updated successfully, but these errors were encountered: