Recalbox Forum

    • Register
    • Login
    • Search
    • Recent
    • Tags
    • recalbox.com
    • Gitlab repository
    • Documentation
    • Discord

    Problème joystick gauche manette ps1/2

    Manettes/GPIO/Encodeurs
    joystick gauche ps12
    3
    12
    3379
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • moriceh
      moriceh last edited by moriceh

      Bonjour,
      J'ai 2 manettes ps1 et ps2 de reliées en GPIO avec le driver gamecon_rpi_gpio. Quand je veux configurer mes contrôles dans EmulationStation et que je veux configurer ce joystick, il n'est pas configuré et ES passe au contrôle suivant...
      Pourriez-vous m'aider SVP ? Merci d'avance !

      1 Reply Last reply Reply Quote 0
      • acris
        acris last edited by

        Bonjour
        Tu as 2 manettes
        Une manette psx et une manette playstation 2 ?

        Poste ton recalbox.conf pr voir la configuration mais je crois qu il existe un bug sur ces manettes.
        @subs nest ce pas ?

        1 Reply Last reply Reply Quote 0
        • moriceh
          moriceh last edited by moriceh

          Voila ce que j'ai :

          # System Variable
          # You can configure your recalbox from here
          # To set a variable, remove the first ; on the line
          
          
          
          # ------------ A - System Options ----------- #
          #    Uncomment the system.power.switch you use
          ;system.power.switch=ATX_RASPI_R2_6      # http://lowpowerlab.com/atxraspi/#installation
          ;system.power.switch=MAUSBERRY           # http://mausberry-circuits.myshopify.com/pages/setup
          ;system.power.switch=REMOTEPIBOARD_2003  # http://www.msldigital.com/pages/support-for-remotepi-board-2013
          ;system.power.switch=REMOTEPIBOARD_2005  # http://www.msldigital.com/pages/support-for-remotepi-board-plus-2015
          ;system.power.switch=PIN56ONOFF          # https://github.com/recalbox/recalbox-os/wiki/Add-a-start-stop-button-to-your-recalbox-(EN)
          ;system.power.switch=PIN56PUSH           # https://github.com/recalbox/recalbox-os/wiki/Add-a-start-stop-button-to-your-recalbox-(EN)
          ;system.power.switch=PIN356ONOFFRESET    # https://github.com/recalbox/recalbox-os/wiki/Add-a-start-stop-button-to-your-recalbox-(EN)
          
          ## 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.specialkeys=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 another value, kodi will start immediately
          ;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)
          ## Escape your special chars (# ; $) with a backslash : $ => \$
          ;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=auto
          ## Set system volume (0..100)
          audio.volume=90
          ## Enable or disable system sounds in ES (0,1)
          audio.bgmusic=1
          
          
          
          # -------------- D - Controllers ----------------- #
          # Enable support for standard bluetooth controllers
          controllers.bluetooth.enabled=1
          
          
          ## Please enable only one of these
          # -------------- D1 - PS3 Controllers ------------ #
          ##Enable PS3 controllers support
          controllers.ps3.enabled=1
          ## Choose an driver between 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=0
          ## 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=1
          ## gamecon_args
          controllers.gamecon.args=map=0,0,0,0,7,7
          
          ## 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=fr
          ## 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 beta to get the next version currently being tested. set to unstable at your own risk to get the development version.
          updates.type=stable
          
          
          # ------------ H - HERE IT IS - GLOBAL EMULATOR CONFIGURATION ------------ #
          ## The global value will be used for all emulators, except if the value
          ## is redefined 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
          
          ## Once enabled, your screen will be cropped, and you will have a pixel perfect image (0,1)
          global.integerscale=0
          
          ## 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=auto
          
          ## 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
          ## Escape your special chars (# ; $) with a backslash : $ => \$
          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
          ;snes.integerscale=0
          ## 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
          
          ## 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
          
          ## Configurations generated by Recalbox
          
          1 Reply Last reply Reply Quote 0
          • Substring
            Substring last edited by

            il y a un bug avec le gamecon oui. Si tu t'y connais un peu en linux je te fais tester une évolution du gamecon

            Former dev - Please reply with @substring so that i am notified when you answer me
            Ex dev - Merci de me répondre en utilisant @substring pour que je sois notifé

            1 Reply Last reply Reply Quote 0
            • moriceh
              moriceh last edited by

              Je veux bien faire la MAJ mais je ne trouve nulle part comment faire ni même la mise a jour en elle-meme... Il n'y a que des paquets deb... Si tu as ce qu'il faut, je suis totalement pour 🙂

              1 Reply Last reply Reply Quote 0
              • Substring
                Substring last edited by

                Non il faut compiler le code source. Et xa je doute que tu saches le faire 😉 faut me laisser un peu de temps et ne oas hesiter à me relancer avec des @subs parce que ca m'oblige à remettre un environnement de compilation pour recalbox 4.0. Ti as quel pi ?

                Former dev - Please reply with @substring so that i am notified when you answer me
                Ex dev - Merci de me répondre en utilisant @substring pour que je sois notifé

                moriceh 1 Reply Last reply Reply Quote 0
                • moriceh
                  moriceh @Substring last edited by moriceh

                  @subs Le PI 2. Et tu saurais ou je peux trouver la source ? G deja compilé 2-3 trucs sur le RPI. Regarde sur framboise314 une interface web pour un emmeteur fm avec le raspberry pi, c'est moi qui l'ai fait 😉

                  Substring 1 Reply Last reply Reply Quote 0
                  • Substring
                    Substring @moriceh last edited by Substring

                    @moriceh plus compliqué que ca ... Il faut que tu clones le repo github de recalbox-buildroot, que tu change la branche sur celle de la 4.0, que tu récupères le gamecon.c du .deb de l'auteur, que tu places ce .c dans le.package gamecon, que tu lances le defconfig du pi2, que tu compiles ce package sans tout compiler recalbox (mais y'a bien une petite heure de compilation du système linux recalbox avant), et que tu récupères le .ko généré. Facile quand on a l'habitude 😉

                    Tout ca parce qu'il te faut les headers du kernel. Tu ne peux pas compiler de raspbian

                    Former dev - Please reply with @substring so that i am notified when you answer me
                    Ex dev - Merci de me répondre en utilisant @substring pour que je sois notifé

                    1 Reply Last reply Reply Quote 0
                    • moriceh
                      moriceh last edited by

                      On peut pas directement faire un make install via ssh sur la recalbox ?

                      Substring 1 Reply Last reply Reply Quote 0
                      • Substring
                        Substring @moriceh last edited by

                        @moriceh pas de GCC sur recalbox, ni une bonne aprtie des fichiers d'entêtes nécessaires. C'est une distribution linhux complète qu'on retouche paramètre nous-même (www.buildroot.com). On est plus proche d'un système embarqué en fait

                        Former dev - Please reply with @substring so that i am notified when you answer me
                        Ex dev - Merci de me répondre en utilisant @substring pour que je sois notifé

                        moriceh 1 Reply Last reply Reply Quote 0
                        • moriceh
                          moriceh @Substring last edited by

                          @substring Du nouveau sur la correction de ce bug ?

                          Substring 1 Reply Last reply Reply Quote 0
                          • Substring
                            Substring @moriceh last edited by

                            @moriceh as-tu essayé ?

                            Former dev - Please reply with @substring so that i am notified when you answer me
                            Ex dev - Merci de me répondre en utilisant @substring pour que je sois notifé

                            1 Reply Last reply Reply Quote 0
                            • First post
                              Last post

                            Want to support us ?

                            62
                            Online

                            98.6k
                            Users

                            28.1k
                            Topics

                            187.0k
                            Posts

                            Copyright © 2021 recalbox.com