Joystick sous V4 avec XinMo ne fonctionnent pas
-
Bonjour à tous. Voici mon problème: Sous recalbox V4, branché via un module XinMo, les émulateurs (apparemment) ne reconnaissent pas mes joystick
Sous ES, tout fonctionne pas de soucis de boutons , ni de joystick. Des que je lance un jeux sous Mame ( et les autres aussi), on dirait que plus rien ne fonctionne. Sous Mame je reste bloque sur le Otherwise, hit OK... et la un droite/ gauche n'a pas d'effet. Sous les autres émulateurs pareil,les boutons, joystick n'ont pas d'effet. A noter: Le module XinMo est branché comme indiqué dans la doc, je n'ai mappé que le joueur 1 dans ES. Le nom de la manette sous ES s'affiche en THT arcade... La rom fonctionne pas contre avec une manette Xbox. Les joystick joueurs 1&2 ne fonctionnent pas. Je ne sais plus trop quoi faire.... D'avance merci à ceux qui on une idée..
-
Bonjour Peux tu poster les resultats des commandes de cette page : https://github.com/recalbox/recalbox-os/wiki/Troubleshooting-controllers-(EN) essaie de changer le paramètre de cette ligne avec udev ou sdl2 dans recalbox.conf https://github.com/recalbox/recalbox-os/wiki/recalbox.conf-(FR)
## Set retroarch input driver (auto, udev, sdl2) ## If you don't have issues with your controllers, let auto global.inputdriver=auto
-
Hello,merci de ton aide
voici le fichier de conf:
# System Variable # You can configure your recalbox from here # To set a variable, remove the first ; on the line # ------------ A - System Options ----------- # ## Recalbox Manager (http manager) system.manager.enabled=1 ## Recalbox API (REST) system.api.enabled=0 ## EmulationStation menu style ## default -> default all options menu ## none -> no menu except the game search menu ## bartop -> less menu, only needed for bartops system.es.menu=default ## Emulator special keys ## default -> default all special keys ## nomenu -> cannot popup the emulator menu ## none -> no special keys in emulators system.emulators.specialkey=default ## Show or hide kodi in emulationstation (0,1) kodi.enabled=1 ## Start kodi at launch (0,1) kodi.atstartup=0 ## set x button shortcut (0,1) kodi.xbutton=1 ## Kodi can wait for a network component before starting ## waithost is the ip or hostname that must answer to a ping to validate the availability ## waittime is the maximum time waited when kodi boots ## if waitmode is required, kodi will not start if the component is not available ## if waitmode is wish, kodi will start if the component is not available ## if waitmode is not set or has an other value, kodi will start immediatly ;kodi.network.waitmode=required ;kodi.network.waittime=10 ;kodi.network.waithost=192.168.0.50 # ------------ B - Network ------------ # ## Set system hostname system.hostname=RECALBOX ## Activate wifi (0,1) wifi.enabled=0 ## Wifi SSID (string) ;wifi.ssid=new ssid ## Wifi KEY (string) ;wifi.key=new key ## Samba share system.samba.enabled=1 ### Virtual Gamepads system.virtual-gamepads.enabled=1 ### SSH system.ssh.enabled=1 # ------------ C - Audio ------------ # ## Set the audio device (auto, hdmi, jack) audio.device=hdmi ## Set system volume (0..100) audio.volume=91 ## Enable or disable system sounds in ES (0,1) audio.bgmusic=1 # -------------- D - Controllers ----------------- # # Enable support for standard bluetooth controllers controllers.bluetooth.enabled=0 ## Please enable only one of these # -------------- D1 - PS3 Controllers ------------ # ##Enable PS3 controllers support controllers.ps3.enabled=1 ## Choose an driver beetween official, shanwan and gasia if you have dualshock clones (official,shanwan,gasia) controllers.ps3.driver=official # ------------ D2 - XBOX Controllers ------------ # ## Xbox controllers are already supported, but xboxdrv can solve some compatibility issues ## Enable xboxdrv driver, disable this if you enabled ps3 controllers (0,1) controllers.xboxdrv.enabled=1 ## Set the amount of controllers to use with xboxdrv (0..4) controllers.xboxdrv.nbcontrols=2 # ------------ D3 - GPIO Controllers ------------ # ## GPIO Controllers ## enable controllers on GPIO with mk_arcarde_joystick_rpi (0,1) controllers.gpio.enabled=0 ## mk_gpio arguments, map=1 for one controller, map=1,2 for 2 (map=1,map=1,2) controllers.gpio.args=map=1,2 ## DB9 Controllers ## Enable DB9 drivers for atari, megadrive, amiga controllers (0,1) controllers.db9.enabled=0 ## db9 arguments controllers.db9.args=map=1 ## Gamecon controllers ## Enable gamecon controllers, for nes, snes psx (0,1) controllers.gamecon.enabled=0 ## gamecon_args controllers.gamecon.args=map=1 ## XGaming's XArcade Tankstik and other compatible devices controllers.xarcade.enabled=1 # ------------ F - Language and keyboard ------------ # ## Set the language of the system (fr_FR,en_US,en_GB,de_DE,pt_BR,es_ES,it_IT,eu_ES,tr_TR,zh_CN) system.language=fr_FR ## set the keyboard layout (fr,en,de,us,es) ;system.kblayout=us ## Set you local time ## Select your timezone from : ls /usr/share/zoneinfo/ (string) ;system.timezone=Europe/Paris # ------------ G - UPDATES ------------ # ## Automatically check for updates at start (0,1) updates.enabled=1 # default : stable ; set to unstable to get the next version currently beeing tested. set to nightly at your own risk to get the developpment version. updates.type=stable # ------------ H - HERE IT IS - GLOBAL EMULATOR CONFIGURATION ------------ # ## The global value will be used for all emulators, exept if the value ## is redifined in the emulator ## Set game resolution for emulators ## select your mode from the command : tvservice -m [MODE] ## CEA 5 HDMI : 1920x1080 @ 60Hz 16:9, clock:74MHz interlaced ## CEA 4 HDMI : 1280x720 @ 60Hz 16:9, clock:74MHz progressive ## use 'default' for using the default resolution ## (string) global.videomode=CEA 4 HDMI ## Shader set ## Automatically select shaders for all systems ## (none, retro, scanlines) global.shaderset=none ## Set gpslp shader for all emulators (prefer shadersets above). Absolute path (string) global.shaders= ## Set ratio for all emulators (auto,4/3,16/9,16/10,custom) global.ratio=4/3 ## Set smooth for all emulators (0,1) global.smooth=1 ## Set rewind for all emulators (0,1) global.rewind=1 ## Set autosave/load savestate for all emulators (0,1) global.autosave=0 ## Enable retroarchievements (0,1) ## Set your www.retroachievements.org username/password global.retroachievements=0 global.retroachievements.username= global.retroachievements.password= ## Set retroarch input driver (auto, udev, sdl2) ## If you don't have issues with your controllers, let auto global.inputdriver=auto ## If you do not want recalboxOS to generate the configuration for all emulators (string) global.configfile=/path/to/my/configfile.cfg # ------------ I - EMULATORS CHOICES ----------- # ## You can override the global configuration here ## Here is the snes example ;snes.videomode=CEA 4 HDMI snes.core=snes9x_next ;snes.shaders=/recalbox/share/shaders/shaders_glsl/mysnesshader.gplsp ;snes.ratio=16/9 ;snes.smooth=0 ;snes.rewind=1 ;snes.autosave=0 ;snes.emulator=libretro ## If you do not want recalboxOS to generate the configuration for the emulator : ;snes.configfile=/path/to/my/configfile.cfg ## Default cores for RPi2 snes.core=snes9x_next gba.core=mgba mame.core=mame078 nes.core=fceunext ## The rewind option is deactivated by default on these unsupported cores (don't edit please) virtualboy.rewind=0 sega32x.rewind=0 segacd.rewind=0 psx.rewind=0 fbalibretro.rewind=0 vectrex.rewind=0 ## NeoGeo emulator ## You can use pifba or a libretro core (fba2x,libretro) neogeo.emulator=libretro ## If you set libretro as neogeo.emulator, the line below sets the retroarch core (fba,imame4all) neogeo.core=fba ## N64 emulator is configured to display a screen with a 640x480 resolution (native n64 resolution) ## So you must use one of these video modes (DMT 4 HDMI,CEA 1 HDMI). ## If your screen is not compatible with one of these video modes, please check the recalbox's wiki. n64.videomode=DMT 4 HDMI ## If you are using a CRT screen, please change the setting above with this one : # n64.videomode=default mame.emulator=default mame.ratio=4/3 pcengine.emulator=default
Je test le
global.inputdriver=auto
des que possible. Bonne journée. -
Il est deja en auto fo le modifier en sdl2 ou udev et voir si ça passe.
-
Youp, de retour. J'ai essayé les deux configurations et ça ne fonctionne pas.. pas de changement Au lancement de Mame, après sélection d'un jeu apparait rapidement: THT THT arcade console 2P uSB player (5824/1505) not configured..Et apres tout reste figé, les boutons et stick ne repondent plus... J'ai l'impression d'avoir le même problème que dans ce post: http://blog.recalbox.com/forums/topic/tht-arcade-console-2p-usb-controller/ sur les version < 3.3
Sinon c'est peu etre un emulateur qui n'aime pas mon module XinMo.. Dans le post: https://github.com/recalbox/recalbox-os/issues/247 tout en bas "merci pour vos réponses. cela semble en effet fonctionner pour le frontend mais pas sous fba. je vais me faire un petit fba2x.cfg pour essayer." Peut etre faut-il que je change d'émulateur, mais je ne sais pas ou il faut changer cela ( e,n fait j'ai trouvé, mais ça ne change rien
) Edit: je viens de voir ça: https://github.com/recalbox/recalbox-os/wiki/Test-your-joystick-with-jstest-(EN) Je vais essayer on ne sait jamais
-
voici le resultat de jstest:
# cat /proc/bus/input/devices I: Bus=0000 Vendor=0000 Product=0000 Version=0000 N: Name="Xbox Gamepad (userspace driver)" P: Phys= S: Sysfs=/devices/virtual/input/input0 U: Uniq= H: Handlers=js0 event0 B: PROP=0 B: EV=b B: KEY=7fdb0000 0 0 0 0 0 0 0 0 0 B: ABS=3001b I: Bus=0000 Vendor=0000 Product=0000 Version=0000 N: Name="Xbox Gamepad (userspace driver) #2" P: Phys= S: Sysfs=/devices/virtual/input/input1 U: Uniq= H: Handlers=js1 event1 B: PROP=0 B: EV=b B: KEY=7fdb0000 0 0 0 0 0 0 0 0 0 B: ABS=3001b I: Bus=0003 Vendor=16c0 Product=05e1 Version=0101 N: Name="THT THT Arcade console 2P USB Player" P: Phys=usb-3f980000.usb-1.4/input0 S: Sysfs=/devices/platform/soc/3f980000.usb/usb1/1-1/1-1.4/1-1.4:1.0/0003:16C0:05E1.0001/input/input2 U: Uniq= H: Handlers=js2 event2 B: PROP=0 B: EV=1b B: KEY=3ff 0 0 0 0 0 0 0 0 0 B: ABS=3 B: MSC=10 I: Bus=0003 Vendor=16c0 Product=05e1 Version=0101 N: Name="THT THT Arcade console 2P USB Player" P: Phys=usb-3f980000.usb-1.4/input0 S: Sysfs=/devices/platform/soc/3f980000.usb/usb1/1-1/1-1.4/1-1.4:1.0/0003:16C0:05E1.0001/input/input3 U: Uniq= H: Handlers=js3 event3 B: PROP=0 B: EV=1b B: KEY=fff 0 0 0 0 0 0 0 0 0 B: ABS=3 B: MSC=10
Le test jstest me parait ok, j'ai testé donc mes joystick:
jstest /dev/input/js2
Et sur chaque axe et bouton, j'ai bien un retour dans la console, donc tout ça me parait ok
-
Bonjour essaie ceci : via putty il faut passer la partition boot en écriture :
mount -o remount,rw /boot
ensuite il faut editer le fichier suivant :nano /boot/cmdline.txt
en bout de ligne ajoute ceci :usbhid.quirks=0x16c0:0x05e1:0x040
tu dois obtenir une ligne comme cecidwc_otg.fiq_fix_enable=1 sdhci-bcm2708.sync_after_dma=0 dwc_otg.lpm_enable=0 console=tty3 loglevel=3 elevator=deadline vt.global_cursor_default=0 logo.nologo usbhid.quirks=0x16c0:0x05e1:0x040
sauvegarde cltr+x puis Y et reboot ton rpi Puis essaie de reconfigurer uniquement le J1 et test