Recalbox Forum

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

    PIGRRL2 CONFIG FOR RECALBOX

    Manettes/GPIO/Encodeurs
    pigrrl2 config recalbox
    1
    3
    300
    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.
    • dobodu
      dobodu last edited by dobodu

      Bonsoir à tous,

      Je partage ma manière de faire fonctionner RECALBOX 6.1.1 avec la PIGRRL2 d'ADAFRUIT qui dispose d'un custom GPIO bien particulier et d'un ecrant PiTFT.

      1/ Installer Recalbox (bien sûr)
      2/ Modifier config.txt en ajoutant

      • hdmi_force_hotplug=1
      • hdmi_cvt=320 240 60 1 0 0 0
      • hdmi_group=2
      • hdmi_mode=87
      • dtoverlay=pitft28-resistive,rotate=270,speed=22000000,fps=60

      3/ Via l'interface RecalBox (ou dans recalbox.conf) ajouter

      • controllers.gpio.enabled=1
      • controllers.gpio.args=map=5 gpio=26,16,4,19,6,5,14,15,13,18,20,12,17

      En effet sur PIGRRL2 les touches sont les suivantes

      • Joypad left GPIO 4
      • Joypad up GPIO 16
      • Joypad right GPIO 19
      • Joypad down GPIO 26
      • Select GPIO 5
      • Start GPIO 6
      • A button GPIO 14
      • B button GPIO 15
      • X button GPIO 20
      • Y button GPIO 18
      • Left shoulder GPIO 12
      • Righ shoulder GPIO 13
      • PiTFT1 Exit GPIO 17
      • PiTFT2 GPIO 22 Pas utilisé
      • PiTFT3 GPIO 23 Pas utilisé
      • PiTFT4 GPIO 27 Pas utilisé

      4/ Configurer les touches par les inputs par l'interface recalbox.

      PS : Il manque juste un petit coup de pouce des DEVs pour rendre plus souple l'adaptation d'un bouton ON/OFF et RESET sur les GPIO custom pour bénéficier de l'ensemble des fonctionnalités 😉

      Bon retrogamming

      PIGRRL2 tunée / Tinkerboard / PI3B

      dobodu 1 Reply Last reply Reply Quote 1
      • dobodu
        dobodu @dobodu last edited by

        Bon, petite mise à jour suite au passage en 7.1 reloaded, je me suis rendu compte qu'il manquait quelques informations :

        2/ pour modifier config.txt

        mount -o remount,rw /boot
        nano config.txt

        Modifier la config tel que

        hdmi_force_hotplug=1
        hdmi_cvt=320 240 60 1 0 0 0
        hdmi_group=2
        hdmi_mode=87
        dtparam=spi=on
        dtparam=i2c1=on
        dtparam=i2c_arm=on
        dtoverlay=pitft28-resistive,rotate=270,speed=22000000,fps=60
        

        3/Dans recalbox.conf activer le framebuffer copy

        system.fbcp.enabled=1
        

        Le reste fonctionne de même.

        Bon retrogaming !

        PIGRRL2 tunée / Tinkerboard / PI3B

        1 Reply Last reply Reply Quote 1
        • dobodu
          dobodu last edited by

          Bien sûr n'oubliez pas de modifier également:

          global.videomode=default
          

          PIGRRL2 tunée / Tinkerboard / PI3B

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

          Want to support us ?

          74
          Online

          99.0k
          Users

          28.1k
          Topics

          187.1k
          Posts

          Copyright © 2021 recalbox.com