Help ! Manette configurable et fonctionelle sur ES mais pas sur les emus !



  • Bonjour ! Bravo à l'équipe pour votre excellent travail c'est génial ce que vous faites. Venant de RetroPie je dois avouer que c'est beaucoup plus pratique d'être sur RecalBox. Cependant j'ai un souci avec ma manette, qui est une Logitech "Cordless Precision for Playstation 3" fonctionnant sans fil grâce à un dongle 2,4 GHz mais n'étant pas (à ma connaissance) bluetooth. La manette est directement détectée dans le menu de configuration de Emulation Station, toutes les touches se configurent parfaitement, ensuite retour dans le menu d'Emulation Station, super, j'arrive à me passer du clavier et naviguer avec la manette. La ou ça se gatte malheureusement, c'est quand je lance un emulateur quelconque, la manette n'a absolument plus aucun effet et le clavier prend la relève. Quand j'appuie sur la touche ESC et que je retourne dans ES la manette refonctionne nickel, même après un redémarrage du système. Je me souviens qu'elle marchait bien sur RetroPie, j'avais juste du bidouiller le fichier de config de RetroArch car elle ne marchait pas directement non plus. Alors que faire ? Pouvez-vous m'aiguiller ? Dois-je mettre les mains dans le cambouis et aller trifouiller le fichier de config de RetroArch ? Merci d'avance pour vos réponses !



  • J'ai exactement le meme problème avec un joystick arcade pour ps3 de type http://www.gamecash.fr/thumbnail-170-240/stick-arcade-mortal-kombat-e51218.jpg ... Que faire ? Merci.



  • Je complete mon précédent post avec les fichiers de config dans es_input.cfg (qui fonctionne), j'ai :

    	<inputConfig type="joystick" deviceName="Performance Designed Products Mortal Kombat Fight Stick for PlayStation 3" deviceGUID="030000006f0e00001001000010010000">
    		<input name="a" type="button" id="1" value="1" />
    		<input name="b" type="button" id="0" value="1" />
    		<input name="down" type="hat" id="0" value="4" />
    		<input name="hotkey" type="button" id="12" value="1" />
    		<input name="l2" type="button" id="6" value="1" />
    		<input name="left" type="hat" id="0" value="8" />
    		<input name="pagedown" type="button" id="5" value="1" />
    		<input name="pageup" type="button" id="4" value="1" />
    		<input name="r2" type="button" id="7" value="1" />
    		<input name="right" type="hat" id="0" value="2" />
    		<input name="select" type="button" id="8" value="1" />
    		<input name="start" type="button" id="9" value="1" />
    		<input name="up" type="hat" id="0" value="1" />
    		<input name="x" type="button" id="2" value="1" />
    		<input name="y" type="button" id="3" value="1" />
    	</inputConfig>
    

    En revanche dans

    # cat /recalbox/configs/retroarch/inputs/Performance\ Designed\ Products\ Mortal\ Kombat\ Fight\ Stick\ for\ PlayStation\ 3.cfg 
    input_device = "Performance Designed Products Mortal Kombat Fight Stick for PlayStation 3"
    input_driver = "udev"
    input_a_btn = 1
    input_b_btn = 0
    input_menu_toggle_btn = 0
    input_down_btn = h0down
    input_state_slot_decrease_btn = h0down
    input_l2_btn = 6
    input_left_btn = h0left
    input_rewind_btn = h0left
    input_r_btn = 5
    input_l_btn = 4
    input_screenshot_btn = 4
    input_r2_btn = 7
    input_right_btn = h0right
    input_hold_fast_forward_btn = h0right
    input_select_btn = 8
    input_start_btn = 9
    input_exit_emulator_btn = 9
    input_up_btn = h0up
    input_state_slot_increase_btn = h0up
    input_x_btn = 2
    input_load_state_btn = 2
    input_y_btn = 3
    input_save_state_btn = 3
    

    Que dois-je modifier ? Merci.


  • Staff
    Developer
    Global moderator
    Team

    Hello, je pourrais avoir le contenu de /recalbox/configs/retroarch/retroarchcustom.cfg aussi après avoir lancé un jeu. Un petit ls /dev/input Et cat /proc/bus/input/devices



  • Eh ben non c'est pas encore le même soucis que moi ...Toi tu as un fichier de config , moi il faut que je copie celui de retropie....



  • Salut retroboy ! Alors dans mon retroarchcustom.cfg avant de lancer un jeu j'ai :

    core_options_path = /recalbox/configs/retroarch/cores/retroarch-core-options.cfg
    
    system_directory = /recalbox/share/bios/
    
    config_save_on_exit = false
    
    video_threaded = true
    
    #video_aspect_ratio = 1.33
    aspect_ratio_index = 0
    aspect_ratio_index = 0
    #video_force_aspect = false
    video_aspect_ratio_auto = true
    #video_scale_integer = true
    
    rewind_enable = false
    rewind_buffer_size = 10
    rewind_granularity = 2
    
    video_gpu_screenshot = true
    
    video_shader_enable = false
    video_smooth = true
    
    screenshot_directory = /recalbox/share/screenshots/
    savestate_directory = /recalbox/share/saves/
    savefile_directory = /recalbox/share/saves/
    extraction_directory = /recalbox/share/extractions/
    
    fastforward_ratio = -1.0
    input_autodetect_enable = true
    
    joypad_autoconfig_dir = /recalbox/configs/retroarch/inputs/
    
    input_player1_analog_dpad_mode = "0"
    input_player2_analog_dpad_mode = "1"
    input_player3_analog_dpad_mode = "1"
    input_player4_analog_dpad_mode = "1"
    
    input_enable_hotkey_btn = 12
    
    input_enable_hotkey = "escape"
    input_exit_emulator = "escape"
    input_player1_joypad_index = 0
    input_player2_joypad_index = 1
    input_player3_joypad_index = 2
    input_player4_joypad_index = 3
    

    Ensuite une fois le jeu lancé j'ai :

    core_options_path = /recalbox/configs/retroarch/cores/retroarch-core-options.cfg
    
    system_directory = /recalbox/share/bios/
    
    config_save_on_exit = false
    
    video_threaded = true
    
    #video_aspect_ratio = 1.33
    aspect_ratio_index = 0
    aspect_ratio_index = 0
    #video_force_aspect = false
    video_aspect_ratio_auto = true
    #video_scale_integer = true
    
    rewind_enable = false
    rewind_buffer_size = 10
    rewind_granularity = 2
    
    video_gpu_screenshot = true
    
    video_shader_enable = false
    video_smooth = true
    
    screenshot_directory = /recalbox/share/screenshots/
    savestate_directory = /recalbox/share/saves/
    savefile_directory = /recalbox/share/saves/
    extraction_directory = /recalbox/share/extractions/
    
    fastforward_ratio = -1.0
    input_autodetect_enable = true
    
    joypad_autoconfig_dir = /recalbox/configs/retroarch/inputs/
    
    input_player1_analog_dpad_mode = "0"
    input_player2_analog_dpad_mode = "1"
    input_player3_analog_dpad_mode = "1"
    input_player4_analog_dpad_mode = "1"
    
    input_enable_hotkey_btn = 12
    
    input_enable_hotkey = "escape"
    input_exit_emulator = "escape"
    input_player1_joypad_index = 0
    input_player2_joypad_index = 1
    input_player3_joypad_index = 2
    input_player4_joypad_index = 3
    

    ensuite pour le ls /dev/input j'ai :

    by-id    by-path  event0   event1   js0      mice     mouse0
    

    et pour cat /proc/bus/input/devices j'ai :

    I: Bus=0003 Vendor=046d Product=cad2 Version=0111
    N: Name="PS3/USB Cordless Gamepad"
    P: Phys=usb-bcm2708_usb-1.3/input0
    S: Sysfs=/devices/platform/bcm2708_usb/usb1/1-1/1-1.3/1-1.3:1.0/0003:046D:CAD2.0005/input/input0
    U: Uniq=
    H: Handlers=js0 event0 
    B: PROP=0
    B: EV=1b
    B: KEY=1fff0000 0 0 0 0 0 0 0 0 0
    B: ABS=30027
    B: MSC=10
    
    I: Bus=0003 Vendor=046d Product=400e Version=0111
    N: Name="Logitech K400"
    P: Phys=usb-bcm2708_usb-1.2:1
    S: Sysfs=/devices/platform/bcm2708_usb/usb1/1-1/1-1.2/1-1.2:1.2/0003:046D:C52B.0003/0003:046D:400E.0004/input/input1
    U: Uniq=
    H: Handlers=sysrq kbd mouse0 event1 
    B: PROP=0
    B: EV=12001f
    B: KEY=3007f 0 0 0 0 483ffff 17aff32d bf544446 0 0 ffff0001 130f93 8b17c007 ffff7bfa d9415fff febeffdf ffefffff ffffffff fffffffe
    B: REL=1c3
    B: ABS=1 0
    B: MSC=10
    B: LED=1f
    

    Niveau generateconfig.log on a :

    setJoypadIndex Retroarch ----------------------------
    	I have for player 1 : index=0 for joystick PS3/USB Cordless Gamepad
    	I have for player 2 : index=-1 for joystick DEFAULTDONOTFINDMEINCOMMAND
    	I have for player 3 : index=-1 for joystick DEFAULTDONOTFINDMEINCOMMAND
    	I have for player 4 : index=-1 for joystick DEFAULTDONOTFINDMEINCOMMAND
    writing given config for player 1
    Finishing config
    So it will be default configuration for player 2 
    pad 1 is free , writing in config
    So it will be default configuration for player 3 
    pad 2 is free , writing in config
    So it will be default configuration for player 4 
    pad 3 is free , writing in config
    

    pour recalbox.log j'ai :

    starting new log at Thu Jan  1 01:00:03 CET 1970
    essetting.sh - searching for SystemVolume
    setting audio volume to 96
    ---- recalbox-config.sh ----
    setting audio volume : 96
    Simple mixer control 'PCM',0
      Capabilities: pvolume pvolume-joined pswitch pswitch-joined
      Playback channels: Mono
      Limits: Playback -10239 - 400
      Mono: Playback -25 [96%] [-0.25dB] [on]
    systemsetting.sh - searching for wifi_ssid
    systemsetting.sh - searching for wifi_key
    systemsetting.sh - searching for audio_output
    essetting.sh - searching for AudioOutputDevice
    setting audio to auto
    ---- recalbox-config.sh ----
    setting audio output mode : auto
    numid=3,iface=MIXER,name='PCM Playback Route'
      ; type=INTEGER,access=rw------,values=1,min=0,max=2,step=0
      : values=0
    systemsetting.sh - searching for enable_mk_gpio
    systemsetting.sh - searching for enable_db9
    systemsetting.sh - searching for enable_gamecon
    systemsetting.sh - searching for enable_kodi
    systemsetting.sh - searching for kodi_at_start
    systemsetting.sh - searching for kodi_by_xbutton
    systemsetting.sh - searching for language
    systemsetting.sh - searching for kb_layout
    essetting.sh - searching for Lang
    setting keyboard layout to fr
    Loading /usr/share/keymaps/i386/azerty/fr.map.gz
    systemsetting.sh - searching for enable_xbox_drv
    systemsetting.sh - searching for xboxdrv_nb_controls
    systemsetting.sh - searching for enable_updates_check
    systemsetting.sh - searching for time_zone
    essetting.sh - searching for Lang
    starting emulationstation with lang = fr_FR
    Starting emulationstation with command : 
    HOME=/root LANG="fr_FR.UTF-8" SDL_VIDEO_GL_DRIVER=/usr/lib/libGLESv2.so SDL_NOMOUSE=1 /usr/bin/emulationstation
    ---- recalbox-config.sh ----
    udhcpc (v1.23.1) started
    Sending discover...
    Sending discover...
    Sending select for 192.168.0.13...
    Lease of 192.168.0.13 obtained, lease time 86400
    deleting routers
    adding dns 62.2.24.158
    adding dns 62.2.17.60
    adding dns 62.2.24.162
    adding dns 62.2.17.61
    ---- recalbox-config.sh ----
    no wlan interface found
    ---- recalbox-config.sh ----
    no update available
    Retroarch configuration ok 
    DonkeyKongClassic (Shiru).smc
    DonkeyKongClassic\ \(Shiru\).smc
    /recalbox/share/roms/snes
    /recalbox/share/roms/snes/DonkeyKongClassic (Shiru).smc
    systemsetting.sh - searching for game_hdmi_mode
    Powering on HDMI with explicit settings (CEA mode 4)
    Powering on HDMI with preferred settings
    PING recalbox.com (195.154.77.183): 56 data bytes
    64 bytes from 195.154.77.183: seq=0 ttl=54 time=27.151 ms
    
    --- recalbox.com ping statistics ---
    1 packets transmitted, 1 packets received, 0% packet loss
    round-trip min/avg/max = 27.151/27.151/27.151 ms
    ---- recalbox-config.sh ----
    no update available
    Retroarch configuration ok 
    DonkeyKongClassic (Shiru).smc
    DonkeyKongClassic\ \(Shiru\).smc
    /recalbox/share/roms/snes
    /recalbox/share/roms/snes/DonkeyKongClassic (Shiru).smc
    systemsetting.sh - searching for game_hdmi_mode
    Powering on HDMI with explicit settings (CEA mode 4)
    

    et pour finir le es_input.cfg me donne :

    <?xml version="1.0"?>
    <inputList>
    	<inputConfig type="keyboard" deviceName="Keyboard" deviceGUID="-1">
    		<input name="a" type="key" id="115" value="1" />
    		<input name="b" type="key" id="97" value="1" />
    		<input name="down" type="key" id="1073741905" value="1" />
    		<input name="left" type="key" id="1073741904" value="1" />
    		<input name="pagedown" type="key" id="1073741902" value="1" />
    		<input name="pageup" type="key" id="1073741899" value="1" />
    		<input name="right" type="key" id="1073741903" value="1" />
    		<input name="select" type="key" id="32" value="1" />
    		<input name="start" type="key" id="13" value="1" />
    		<input name="up" type="key" id="1073741906" value="1" />
    	</inputConfig>
    	<inputConfig type="joystick" deviceName="PLAYSTATION(R)3 Controller (00:8B:F0:FA:63:25)" deviceGUID="060000004c0500006802000000010000">
    		<input name="a" type="button" id="13" value="1" />
    		<input name="b" type="button" id="14" value="1" />
    		<input name="down" type="button" id="6" value="1" />
    		<input name="hotkey" type="button" id="16" value="1" />
    		<input name="joystickleft" type="axis" id="0" value="-1" />
    		<input name="joystickup" type="axis" id="1" value="-1" />
    		<input name="l2" type="button" id="8" value="1" />
    		<input name="left" type="button" id="7" value="1" />
    		<input name="pagedown" type="button" id="11" value="1" />
    		<input name="pageup" type="button" id="10" value="1" />
    		<input name="r2" type="button" id="9" value="1" />
    		<input name="right" type="button" id="5" value="1" />
    		<input name="select" type="button" id="0" value="1" />
    		<input name="start" type="button" id="3" value="1" />
    		<input name="up" type="button" id="4" value="1" />
    		<input name="x" type="button" id="12" value="1" />
    		<input name="y" type="button" id="15" value="1" />
    	</inputConfig>
    	<inputConfig type="joystick" deviceName="Microsoft X-Box 360 pad" deviceGUID="030000005e0400008e02000010010000">
    		<input name="a" type="button" id="0" value="1" />
    		<input name="b" type="button" id="1" value="1" />
    		<input name="down" type="hat" id="0" value="4" />
    		<input name="hotkey" type="button" id="8" value="1" />
    		<input name="left" type="hat" id="0" value="8" />
    		<input name="pagedown" type="button" id="5" value="1" />
    		<input name="pageup" type="button" id="4" value="1" />
    		<input name="right" type="hat" id="0" value="2" />
    		<input name="select" type="button" id="6" value="1" />
    		<input name="start" type="button" id="7" value="1" />
    		<input name="up" type="hat" id="0" value="1" />
    		<input name="x" type="button" id="2" value="1" />
    		<input name="y" type="button" id="3" value="1" />
    	</inputConfig>
    	<inputConfig type="joystick" deviceName="Xbox 360 Wireless Receiver" deviceGUID="030000005e0400001907000000010000">
    		<input name="a" type="button" id="1" value="1" />
    		<input name="b" type="button" id="0" value="1" />
    		<input name="down" type="button" id="14" value="1" />
    		<input name="hotkey" type="button" id="8" value="1" />
    		<input name="joystickleft" type="axis" id="0" value="-1" />
    		<input name="joystickup" type="axis" id="1" value="-1" />
    		<input name="l2" type="axis" id="2" value="1" />
    		<input name="left" type="button" id="11" value="1" />
    		<input name="pagedown" type="button" id="5" value="1" />
    		<input name="pageup" type="button" id="4" value="1" />
    		<input name="r2" type="axis" id="5" value="1" />
    		<input name="right" type="button" id="12" value="1" />
    		<input name="select" type="button" id="6" value="1" />
    		<input name="start" type="button" id="7" value="1" />
    		<input name="up" type="button" id="13" value="1" />
    		<input name="x" type="button" id="3" value="1" />
    		<input name="y" type="button" id="2" value="1" />
    	</inputConfig>
    	<inputConfig type="joystick" deviceName="Xbox Gamepad (userspace driver)" deviceGUID="0000000058626f782047616d65706100">
    		<input name="a" type="button" id="1" value="1" />
    		<input name="b" type="button" id="0" value="1" />
    		<input name="down" type="hat" id="0" value="4" />
    		<input name="hotkey" type="button" id="10" value="1" />
    		<input name="joystickleft" type="axis" id="0" value="-1" />
    		<input name="joystickup" type="axis" id="1" value="-1" />
    		<input name="l2" type="button" id="6" value="1" />
    		<input name="left" type="hat" id="0" value="8" />
    		<input name="pagedown" type="button" id="5" value="1" />
    		<input name="pageup" type="button" id="4" value="1" />
    		<input name="r2" type="button" id="7" value="1" />
    		<input name="right" type="hat" id="0" value="2" />
    		<input name="select" type="button" id="8" value="1" />
    		<input name="start" type="button" id="9" value="1" />
    		<input name="up" type="hat" id="0" value="1" />
    		<input name="x" type="button" id="3" value="1" />
    		<input name="y" type="button" id="2" value="1" />
    	</inputConfig>
    	<inputConfig type="joystick" deviceName="GPIO Controller 1" deviceGUID="15000000010000000100000000010000">
    		<input name="a" type="button" id="1" value="1" />
    		<input name="b" type="button" id="0" value="1" />
    		<input name="hotkey" type="button" id="6" value="1" />
    		<input name="pagedown" type="button" id="5" value="1" />
    		<input name="pageup" type="button" id="4" value="1" />
    		<input name="select" type="button" id="6" value="1" />
    		<input name="start" type="button" id="7" value="1" />
    		<input name="x" type="button" id="2" value="1" />
    		<input name="y" type="button" id="3" value="1" />
    		<input name="down" type="axis" id="1" value="1" />
    		<input name="left" type="axis" id="0" value="-1" />
    		<input name="right" type="axis" id="0" value="1" />
    		<input name="up" type="axis" id="1" value="-1" />
    	</inputConfig>
    	<inputConfig type="joystick" deviceName="GPIO Controller 2" deviceGUID="15000000010000000200000000010000">
    		<input name="a" type="button" id="1" value="1" />
    		<input name="b" type="button" id="0" value="1" />
    		<input name="hotkey" type="button" id="6" value="1" />
    		<input name="pagedown" type="button" id="5" value="1" />
    		<input name="pageup" type="button" id="4" value="1" />
    		<input name="select" type="button" id="6" value="1" />
    		<input name="start" type="button" id="7" value="1" />
    		<input name="x" type="button" id="2" value="1" />
    		<input name="y" type="button" id="3" value="1" />
    		<input name="down" type="axis" id="1" value="1" />
    		<input name="left" type="axis" id="0" value="-1" />
    		<input name="right" type="axis" id="0" value="1" />
    		<input name="up" type="axis" id="1" value="-1" />
    	</inputConfig>
    	<inputConfig type="joystick" deviceName="PS3/USB Cordless Gamepad" deviceGUID="030000006d040000d2ca000011010000">
    		<input name="a" type="button" id="2" value="1" />
    		<input name="b" type="button" id="1" value="1" />
    		<input name="down" type="axis" id="1" value="1" />
    		<input name="hotkey" type="button" id="12" value="1" />
    		<input name="joystickleft" type="hat" id="0" value="8" />
    		<input name="joystickup" type="hat" id="0" value="1" />
    		<input name="l2" type="button" id="6" value="1" />
    		<input name="left" type="axis" id="0" value="-1" />
    		<input name="pagedown" type="button" id="5" value="1" />
    		<input name="pageup" type="button" id="4" value="1" />
    		<input name="r2" type="button" id="7" value="1" />
    		<input name="right" type="axis" id="0" value="1" />
    		<input name="select" type="button" id="8" value="1" />
    		<input name="start" type="button" id="9" value="1" />
    		<input name="up" type="axis" id="1" value="-1" />
    		<input name="x" type="button" id="3" value="1" />
    		<input name="y" type="button" id="0" value="1" />
    	</inputConfig>
    </inputList>
    

    allez encore un petit es_log pour être sur :

    lvl2: 	EmulationStation - v2.0.0-rc1, built Mar  9 2015 - 14:01:19
    lvl2: 	Setting local directory to /usr/bin/locale/
    lvl2: 	Locals set...
    lvl2: 	Creating surface...
    lvl2: 	Created window successfully.
    lvl2: 	Added unconfigured joystick PS3/USB Cordless Gamepad (GUID: 030000006d040000d2ca000011010000, instance ID: 0, device index: 0).
    lvl2: 	Checking available OpenGL extensions...
    lvl2: 	 ARB_texture_non_power_of_two: MISSING
    lvl2: 	Loading system config file /root/.emulationstation/es_systems.cfg...
    lvl2: 	Parsing XML file "/root/.emulationstation/gamelists/n64/gamelist.xml"...
    lvl1: 	System "n64" has no games! Ignoring it.
    lvl2: 	Parsing XML file "/root/.emulationstation/gamelists/gbc/gamelist.xml"...
    lvl1: 	System "gbc" has no games! Ignoring it.
    lvl2: 	Parsing XML file "/root/.emulationstation/gamelists/gb/gamelist.xml"...
    lvl1: 	System "gb" has no games! Ignoring it.
    lvl2: 	Parsing XML file "/root/.emulationstation/gamelists/fds/gamelist.xml"...
    lvl1: 	System "fds" has no games! Ignoring it.
    lvl2: 	Parsing XML file "/root/.emulationstation/gamelists/megadrive/gamelist.xml"...
    lvl1: 	System "megadrive" has no games! Ignoring it.
    lvl2: 	Parsing XML file "/root/.emulationstation/gamelists/segacd/gamelist.xml"...
    lvl1: 	System "segacd" has no games! Ignoring it.
    lvl2: 	Parsing XML file "/root/.emulationstation/gamelists/sega32x/gamelist.xml"...
    lvl1: 	System "sega32x" has no games! Ignoring it.
    lvl2: 	Parsing XML file "/root/.emulationstation/gamelists/gamegear/gamelist.xml"...
    lvl1: 	System "gamegear" has no games! Ignoring it.
    lvl2: 	Parsing XML file "/root/.emulationstation/gamelists/sg1000/gamelist.xml"...
    lvl1: 	System "sg1000" has no games! Ignoring it.
    lvl2: 	Parsing XML file "/root/.emulationstation/gamelists/psx/gamelist.xml"...
    lvl1: 	System "psx" has no games! Ignoring it.
    lvl2: 	Parsing XML file "/root/.emulationstation/gamelists/scummvm/gamelist.xml"...
    lvl1: 	System "scummvm" has no games! Ignoring it.
    lvl2: 	Parsing XML file "/root/.emulationstation/gamelists/fba/gamelist.xml"...
    lvl1: 	System "fba" has no games! Ignoring it.
    lvl2: 	Parsing XML file "/root/.emulationstation/gamelists/mame/gamelist.xml"...
    lvl1: 	System "mame" has no games! Ignoring it.
    lvl2: 	Parsing XML file "/root/.emulationstation/gamelists/atari2600/gamelist.xml"...
    lvl1: 	System "atari2600" has no games! Ignoring it.
    lvl2: 	Parsing XML file "/root/.emulationstation/gamelists/msx/gamelist.xml"...
    lvl1: 	System "msx" has no games! Ignoring it.
    lvl2: 	SDL AUDIO Initialized
    lvl2: 	 req music [system.bgsound]
    lvl0: 	playing
    lvl2: 	Launching /recalbox/scripts/recalbox-config.sh canupdate
    lvl2: 	Cannot update 
    lvl1: 	OptionListComponent too narrow!
    lvl1: 	adding default entry for player 0(selected : true)
    lvl1: 	OptionListComponent too narrow!
    lvl1: 	adding default entry for player 1(selected : true)
    lvl1: 	OptionListComponent too narrow!
    lvl1: 	adding default entry for player 2(selected : true)
    lvl1: 	OptionListComponent too narrow!
    lvl1: 	adding default entry for player 3(selected : true)
    lvl2: 	Configuring device 0 (PS3/USB Cordless Gamepad).
    lvl2: 	  Mapping [Axis 1-] -> Up
    lvl2: 	  Mapping [Axis 1+] -> Down
    lvl2: 	  Mapping [Axis 0-] -> Left
    lvl2: 	  Mapping [Axis 0+] -> Right
    lvl2: 	  Mapping [Hat 0 up] -> JoystickUp
    lvl2: 	  Mapping [Hat 0 left] -> JoystickLeft
    lvl2: 	  Mapping [Button 2] -> A
    lvl2: 	  Mapping [Button 1] -> B
    lvl2: 	  Mapping [Button 3] -> X
    lvl2: 	  Mapping [Button 0] -> Y
    lvl2: 	  Mapping [Button 9] -> Start
    lvl2: 	  Mapping [Button 8] -> Select
    lvl2: 	  Mapping [Button 4] -> PageUp
    lvl2: 	  Mapping [Button 5] -> PageDown
    lvl2: 	  Mapping [Button 6] -> L2
    lvl2: 	  Mapping [Button 7] -> R2
    lvl2: 	  Mapping [Button 12] -> HotKey
    lvl1: 	OptionListComponent too narrow!
    lvl1: 	adding entry for player0 (not selected): PS3/USB Cordless Gamepad  030000006d040000d2ca000011010000
    lvl1: 	adding default entry for player 0(selected : true)
    lvl1: 	OptionListComponent too narrow!
    lvl1: 	adding entry for player1 (not selected): PS3/USB Cordless Gamepad  030000006d040000d2ca000011010000
    lvl1: 	adding default entry for player 1(selected : true)
    lvl1: 	OptionListComponent too narrow!
    lvl1: 	adding entry for player2 (not selected): PS3/USB Cordless Gamepad  030000006d040000d2ca000011010000
    lvl1: 	adding default entry for player 2(selected : true)
    lvl1: 	OptionListComponent too narrow!
    lvl1: 	adding entry for player3 (not selected): PS3/USB Cordless Gamepad  030000006d040000d2ca000011010000
    lvl1: 	adding default entry for player 3(selected : true)
    lvl2: 	Attempting to launch game...
    lvl2: 	Shutting down SDL AUDIO
    lvl2: 	Attempting to configure emulator...
    lvl2: 	Available and configurated : PS3/USB Cordless Gamepad
    lvl2: 	No config for player 0
    lvl2: 	So i set PS3/USB Cordless Gamepad for player 0
    lvl2: 	No config for player 1
    lvl2: 	No config for player 2
    lvl2: 	No config for player 3
    lvl2: 	Configure emulators command : /recalbox/scripts/generateEmuConfigs/generateEmuConfigs.sh  030000006d040000d2ca000011010000 0 "PS3/USB Cordless Gamepad" DEFAULT -1 DEFAULTDONOTFINDMEINCOMMAND DEFAULT -1 DEFAULTDONOTFINDMEINCOMMAND DEFAULT -1 DEFAULTDONOTFINDMEINCOMMAND "snes"
    lvl2: 	Emulator configuration OK
    lvl2: 		/recalbox/scripts/emulatorlauncher.sh /recalbox/share/roms/snes/DonkeyKongClassic\ \(Shiru\).smc "snes"
    lvl2: 	Creating surface...
    lvl2: 	Created window successfully.
    lvl2: 	Added known joystick PS3/USB Cordless Gamepad (instance ID: 0, device index: 0)
    lvl2: 	SDL AUDIO Initialized
    lvl0: 	playing
    lvl1: 	OptionListComponent too narrow!
    lvl1: 	OptionListComponent too narrow!
    lvl2: 	Launching /recalbox/scripts/recalbox-config.sh canupdate
    lvl2: 	Cannot update 
    lvl2: 	no update available
    
    lvl1: 	OptionListComponent too narrow!
    lvl1: 	OptionListComponent too narrow!
    lvl2: 	 req music [system.bgsound]
    lvl0: 	playing
    lvl2: 	 req music [system.bgsound]
    lvl0: 	playing
    lvl2: 	 req music [system.bgsound]
    lvl0: 	playing
    lvl2: 	 req music [system.bgsound]
    lvl0: 	playing
    lvl2: 	 req music [system.bgsound]
    lvl0: 	playing
    lvl2: 	 req music [system.bgsound]
    lvl0: 	playing
    lvl2: 	 req music [system.bgsound]
    lvl0: 	playing
    lvl2: 	 req music [system.bgsound]
    lvl0: 	playing
    

    Voilà, sorry for the long post ^^ Si quelqu'un à le courage d'y jeter un oeil c'est sympa ! Merciii !


  • Staff
    Developer
    Global moderator
    Team

    Tu n'as aucune reponse dans les emulateurs ? et avec piFBA ?



  • Je viens de tester sur piFBA, je n'ai malheureusement aucune réponse de la manette, tout comme dans les autres emu, alors que dans Emulation Station elle fonctionne à merveille ! Je commence à désespérer... Quelqu'un qui à eu le même cas que moi a-t-il réussi à régler ce problème ?


  • Staff
    Developer
    Global moderator
    Team

    La tu me poses une colle. Tout est bien configuré. Ce que tu peux faire c'est lancer retroarch en ligne de commande retroarch et essayer de configurer ta manette. Déjà vois si ca fonctionne, ensuite tu sauvegarde la config et tu me la mets sur pastbin stp



  • Salut Widget, Je viens de jeter un oeil dans tes fichiers et ce qui ne va pas est en gras ci-dessous: <inputConfig type="joystick" deviceName="PS3/USB Cordless Gamepad" deviceGUID="030000006d040000d2ca000011010000"> <input name="a" type="button" id="2" value="1" /> <input name="b" type="button" id="1" value="1" /> <input name="down" type="axis" id="1" value="1" /> <input name="hotkey" type="button" id="12" value="1" /> <input name="joystickleft" type="hat" id="0" value="8" /> <input name="joystickup" type="hat" id="0" value="1" /> <input name="l2" type="button" id="6" value="1" /> <input name="left" type="axis" id="0" value="-1" /> <input name="pagedown" type="button" id="5" value="1" /> <input name="pageup" type="button" id="4" value="1" /> <input name="r2" type="button" id="7" value="1" /> <input name="right" type="axis" id="0" value="1" /> <input name="select" type="button" id="8" value="1" /> <input name="start" type="button" id="9" value="1" /> <input name="up" type="axis" id="1" value="-1" /> <input name="x" type="button" id="3" value="1" /> <input name="y" type="button" id="0" value="1" /> </inputConfig>



  • Tu as ta manette qui est configurée avec la croix directionnelle (type: hat) complètement inversée avec le joystick gauche (type: axis). Tu en es probablement arrivé là en essayant de reconfigurer ta manette dans emulationstation et lorsqu'il t'a demandé haut, bas, gauche, droite tu as bougé le joystick au lieu de la croix, et pour le joystick, tu as bougé la croix... Cela à inversé les types et fait complètement foirer les scripts d'autoconfig de retroarch... (c'est une simple supposition). Voici ce que je te recommande de faire dans un premier temps: Oublies la configuration de ta manette sous emulationstation, à la place edites le fichier es_input.cfg qui se trouve dans root/.emulstation/ et tu réécris la partie de ta manette comme suit (j'ai conservé ton choix au niveau des boutons):

    <inputConfig type="joystick" deviceName="PS3/USB Cordless Gamepad" deviceGUID="030000006d040000d2ca000011010000">
    		<input name="a" type="button" id="2" value="1" />
    		<input name="b" type="button" id="1" value="1" />
    		<input name="down" type="hat" id="0" value="4" />
    		<input name="hotkey" type="button" id="12" value="1" />
    		<input name="joystickleft" type="axis" id="0" value="-1" />
                    <input name="joystickup" type="axis" id="1" value="-1" />
    		<input name="l2" type="button" id="6" value="1" />
    		<input name="left" type="hat" id="0" value="8" />
    		<input name="pagedown" type="button" id="5" value="1" />
    		<input name="pageup" type="button" id="4" value="1" />
    		<input name="r2" type="button" id="7" value="1" />
    		<input name="right" type="hat" id="0" value="2" />
    		<input name="select" type="button" id="8" value="1" />
    		<input name="start" type="button" id="9" value="1" />
    		<input name="up" type="hat" id="0" value="1" />
    		<input name="x" type="button" id="3" value="1" />
    		<input name="y" type="button" id="0" value="1" />
    	</inputConfig>
    

    Tu sauves ton fichier puis reboot le pi, et surtout n'essayes pas de reconfigurer la manette dans emulationstation après avoir modifié le fichier... Et il faudra que tu te déplaces dans emulationstation en utilisant la croix du pad et non le joystick... Dis moi si au moins lorsque tu lances l'emulateur super nes (sous retroarch), tu as la croix qui fonctionne et le joystick gauche? Prends un jeu au choix... Et dis nous si ça a fait avancer les choses. A moins que tu ais bidouillé les scripts de configuration des manettes ça devrait être bon...


  • Staff
    Developer
    Global moderator
    Team

    Salut les gars, j'aurais besoin que vous passez sur IRC pour tester une version de recalbox qui pourrait faire fonctionner ce genre de pad. Passez a l'occasion 🙂



Want to support us ?

239
Online

81.4k
Users

22.2k
Topics

161.2k
Posts