SNES controller not working properly on N64 emulator
-
@mitu Sure thing, i've try with :
; usb gamepad _START [usb gamepad ] plugged = True plugin = 2 mouse = False AnalogDeadzone = 4096,4096 AnalogPeak = 32768,32768 Mempak switch = Rumblepak switch = R Trig = button(5) B Button = button(3) C Button U = button(0) Start = button(9) A Button = button(2) C Button D = button(1) Z Trig = button(4) DPad U = axis(0+) DPad D = axis(0-) DPad L = axis(1,-) DPad R = axis(1,+) ; usb gamepad _END
With no luck :(
-
@lupsyn Can you also post the configuration file for EmulationStation's input from
\\retropie\configs\all\emulationstation\es_input.cfg
? -
@mitu said in SNES controller not working properly on N64 emulator:
Sure here es_input.cfg<?xml version="1.0"?> <inputList> <inputAction type="onfinish"> <command>/opt/retropie/supplementary/emulationstation/scripts/inputconfiguration.sh</command> </inputAction> <inputConfig type="joystick" deviceName="usb gamepad " deviceGUID="030000001008000001e5000010010000"> <input name="pageup" type="button" id="4" value="1"/> <input name="up" type="axis" id="1" value="-1"/> <input name="left" type="axis" id="0" value="-1"/> <input name="select" type="button" id="8" value="1"/> <input name="right" type="axis" id="0" value="1"/> <input name="pagedown" type="button" id="5" value="1"/> <input name="y" type="button" id="3" value="1"/> <input name="x" type="button" id="0" value="1"/> <input name="down" type="axis" id="1" value="1"/> <input name="start" type="button" id="9" value="1"/> <input name="b" type="button" id="2" value="1"/> <input name="a" type="button" id="1" value="1"/> </inputConfig> </inputList>
-
DPad U = axis(0+)
DPad D = axis(0-)
DPad L = axis(1,-)
DPad R = axis(1,+OK, these might be wrong then. Try replacing them with
DPad U = axis(1-) DPad D = axis(1+) DPad L = axis(0,-) DPad R = axis(0,+)
-
@mitu Sadly still no luck :(
-
@lupsyn Apart from trying out a different emulator, I have no more ideas.
-
@mitu Thanks mate for the support, any change to link me to a doc how i can potentially change the N64 emulator ?
-
@lupsyn You can use the Runcommand launch menu when you start a game to switch emulator from the ones that are installed. If it's not installed, you can install it from RetroPie-Setup.
https://retropie.org.uk/docs/Runcommand/#runcommand-launch-menu
https://retropie.org.uk/docs/Updating-RetroPie/#updatinginstalling-individual-packages
https://retropie.org.uk/docs/Nintendo-64/ -
@mitu try other emulators, same issue...i think then it's a controller issue... but it's very strange.
-
I figure it out but is working only with mupen-64plus not with lr-mupen64plus-next. My controller is a snes clone kind of (as i specified in the beginning).
From auto config it will be configured as :input_device = "usb gamepad " input_driver = "udev" input_enable_hotkey_btn = "8" input_l_btn = "4" input_load_state_btn = "4" input_up_axis = "-1" input_left_axis = "-0" input_state_slot_decrease_axis = "-0" input_select_btn = "8" input_right_axis = "+0" input_state_slot_increase_axis = "+0" input_r_btn = "5" input_save_state_btn = "5" input_y_btn = "3" input_x_btn = "0" input_menu_toggle_btn = "0" input_down_axis = "+1" input_start_btn = "9" input_exit_emulator_btn = "9" input_b_btn = "2" input_reset_btn = "2" input_a_btn = "1"
(you can find this file in the dir : '/opt/retropie/configs/all/retroarch/autoconfig ' )
Just gigging around i found this https://github.com/libretro/retroarch-joypad-autoconfig/tree/master/udev in which there are lot of configuration for lot of different joypads.
I understood problem were into the x/y axis so i just appended these lines on the autoconfig file and everything start working :input_up_axis_label = "D-Pad Up" input_down_axis_label = "D-Pad Down" input_left_axis_label = "D-Pad Left" input_right_axis_label = "D-Pad Right"
I think you can do the same from internal mapping for a single rom playing with the retroarch.cfg inside ...'retropie/configs/n64'
-
@lupsyn said in SNES controller not working properly on N64 emulator:
input_up_axis_label = "D-Pad Up"
input_down_axis_label = "D-Pad Down"
input_left_axis_label = "D-Pad Left"
input_right_axis_label = "D-Pad Right"These lines have no bearing on how the controller actually works, it just label the inputs so you can see them better in the RetroArch's configuration interface (instead of seeing the numbers associated). But if it works, that's fine.
-
@mitu yeah, reading some docs makes no sense. Maybe it's only working due i changed emulator. Thanks for helping anyway.
-
@lupsyn My Dpad keys (contoller is SNES ) are not working on Nintendo64. Can someone paste their \configs\n64\inputsautocfg.ini
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.