Recalbox Forum

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

    activation port gpio borne arcade recalbox 7.2.2

    GamePad/GPIO/USB encoder
    gpio borne arcade 7.2.2
    3
    3
    1001
    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.
    • franku93
      franku93 last edited by Zing

      Bonjour a tous j'ai bien regardé et n'ai pas trouvé de solution à mon problème. Après avoir fait beaucoup de réglages, j'ai placé les ports GPIO sur le raspberry pi3 b+ afin d'utiliser mes boutons arcades. j'ai donc pris la micro sd et ai ouvert le seul fichier pour lequel j'ai trouvé les ports GPIO qui est le fichier text ouvert avec notepad++ nommé : recalbox-backup.conf (j'ai bien vu que rien ne devait être modifié mais je n'ai pas de fichier ou en recherche je trouve de gpio). J'ai ensuite cherché l'activation des ports que j'ai mis sur 1 mais rien n'y fait... Sur le fichier texte j'ai donc écrit :

      # ------------ D2 - GPIO Controllers ------------ #
      ## GPIO Controllers
      ## enable controllers on GPIO with mk_arcarde_joystick_rpi (0,1)
      controllers.gpio.enabled=1
      ## mk_gpio arguments, map=1 for one controller, map=1,2 for 2 (map=1,map=1,2)
      controllers.gpio.args=map=1,2
      ## Custom mk_gpio arguments,
      ## controllers.gpio.args=map=5 gpio=Y-,Y+,X-,X+,start,select,a,b,tr,y,x,tl,hk  for one controller,
      ## controllers.gpio.args=map=5 gpio=pin1,pin2,pin3,.....,pin12,pin13
      ## controllers.gpio.args=map=5,6 gpio=Y-,Y+,X-,X+,start,select,a,b,tr,y,x,tl,hk gpio2=Y-,Y+,X-,X+,start,select,a,b,tr,y,x,tl,hk for 2 (map=5,map=5,6)
      ## controllers.gpio.args=map=5,6 gpio=gpiox,gpioy,gpioz,.....,gpiou,gpiov gpio2=gpiox,gpioy,gpioz,.....,gpiou,gpiov
      # where gpiox,gpioy,gpioz ... are NOT pin numbers on the connector, BUT location gpio numbered as in 
      # https://www.raspberrypi-spy.co.uk/wp-content/uploads/2012/06/Raspberry-Pi-GPIO-Layout-Model-B-Plus-rotated-2700x900.png
      ## Set pin to -1 to disable it
      # controllers.gpio.args=map=5,6 gpio=4,17,27,22,10,9,25,24,23,18,15,14,2 gpio2=11,5,6,13,19,26,21,20,16,12,7,8,3
      ## MCP configuration : GPIO and MCP can be used together. You can mix them.
      ## map=0x20,0x21 for 2 mcp23017 on i2c bus
      #controllers.gpio.args=map=0x20,0x21,5,6 gpio=4,17,27,22,10,9,25,24,23,18,15,14,-1 gpio2=11,5,6,13,19,26,21,20,16,12,7,8,-1
      

      Tout ceci ne fonctionne toujours pas ... auriez vous une idée ?
      Merci beaucoup par avance !!! et merci pour tout votre travail

      Zing 1 Reply Last reply Reply Quote 0
      • RATTEZ
        RATTEZ last edited by

        9ca3257e-2128-41bc-8e77-0ffc6a187706-image.png

        1 Reply Last reply Reply Quote 0
        • Zing
          Zing Global moderator Translator @franku93 last edited by

          @franku93

          https://recalbox.gitbook.io/documentation/v/francais/tutoriels/controleurs/gpio

          Se a minha resposta foi útil, por favor, dê um voto positivo, clicando na seta para cima logo abaixo da resposta, ao lado de "citar".
          If my answer was helpful, please give a positive feedback by clicking the up arrow below the answer, next to "quote".

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

          Want to support us ?

          75
          Online

          99.7k
          Users

          28.1k
          Topics

          187.1k
          Posts

          Copyright © 2021 recalbox.com