SNES Controller not working inside games
-
Hi, I'm new in retropie, sorry for my basic question.
I've installed retropie 4.5.1 on Ubuntu 18.04.2 LTS and I've one SNES "generic" controller.
When I start emulationstation the controller is detected, and I can surf the menu without problems, but when I entered a NES or SNES game, the controller is not detected inside the game. I can only use the laptop keyboard inside the games.Am I missing any basic step?
Thanks!
-
@skeepa Did you configure the controller in Emulationstation ? This will also configure the inputs for the emulators you use.
-
@mitu yes, the controller is automatically detected, I can setup all buttons and then navigate the menu without problems. But when I enter a game I've to use keyboard to play :(
-
Can you check if you have a joystick configuration file in
/opt/retropie/configs/all/retroarch-joypads
?
Get a log file from the emulator(s) - use the Runcommand launch menu when you start a game, toggle verbose logging, then (after exiting the game) post the contents of/dev/shm/runcommand.log
to pastebin.com so we can take a look. -
I have this configuration file in /opt/retropie/configs/all/retroarch-joypads
esteban@chimuela:/opt/retropie/configs/all/retroarch-joypads$ cat usb\ gamepad\ \ \ \ \ \ \ \ \ \ \ .cfg input_device = "usb gamepad " input_driver = "udev" input_l_btn = "4" input_start_btn = "9" input_down_axis = "+1" input_r_btn = "5" input_right_axis = "+0" input_select_btn = "8" input_left_axis = "-0" input_up_axis = "-1" input_a_btn = "1" input_b_btn = "2" input_x_btn = "0" input_y_btn = "3"
And here is the runcommand.log: https://pastebin.com/DnfspteM
Thanks for your help
-
It looks like your USB gamepad is detected as Player2 - the Sony Vaio keyboard is somehow detected as the 1st joypad connected:
[INFO] [udev]: Pad #0 (/dev/input/event5) supports 0 force feedback effects. [INFO] [Autoconf]: 1 profiles found. [INFO] [Autoconf]: no profiles found for Sony Vaio Keys (4173/0). [INFO] [udev]: Plugged pad: usb gamepad (2064:58625) on port #1. [INFO] [Autoconf]: 1 profiles found. [INFO] [autoconf]: selected configuration: /home/esteban/.config/retroarch/autoconfig/usb gamepad .cfg [INFO] [udev]: Pad #1 (/dev/input/event3) supports 0 force feedback effects.
You can use the advanced configuration editor and re-order the gamepads by setting the gamepad order for all Libretro based emulators.
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.