Recalbox Forum

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

    Controllers and MCP23017 on I2C0

    GamePad/GPIO/USB encoder
    mcp23017 i2c joystick
    2
    2
    402
    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.
    • Robulle
      Robulle last edited by

      Hi !
      I made a diy arcade cab with a CRT screen, a raspberry PI3B+, a RGB-PI+ board and the RGB-PI OS.
      Since Recalbox is now compatible with CRT I decided to upgrade my cab with the version 8.0.2.
      Analog video output works great but controllers are not detected.
      On the RGB-PI+ joysticks and buttons are connected to IO expanders MCP23017 at 0x20 and 0x21 addresses on I2C0 bus (GPIOs of I2C1 are used for video sync).
      I replaced the mk_arcade_joystick_rpi.ko file of recalbox by the mk_arcade_joystick_rpi.ko file of RGB-PI OS and
      changed the recalbox.conf file with controllers.gpio.enabled=1 and controllers.gpio.args=map=0x20,0x21 but controllers are still not detected.
      Any ideas ? Thanks !

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

        @robulle Please, don't SPAM:
        https://forum.recalbox.com/topic/26845/joysticks-sur-mcp23017

        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
        • Locked by  Zing Zing 
        • First post
          Last post

        Want to support us ?

        66
        Online

        99.6k
        Users

        28.1k
        Topics

        187.1k
        Posts

        Copyright © 2021 recalbox.com