Recalbox Forum

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

    Issues configuring GPIO

    GamePad/GPIO/USB encoder
    configuring gpio
    2
    2
    254
    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.
    • Multiface II+
      Multiface II+ last edited by

      Hi,

      I'm a new user of RECALBOX, I plugged arcade controllers on the GPIO of the RPI3.
      I made a test with "evtest", everything is well recognized :
      GPIO 1

      L = type 1 (EV_KEY), code 304 BTN_SOUTH, value 1
      R = type 1 (EV_KEY), code 315 BTN_START, value 1
      A = type 1 (EV_KEY), code 314 BTN_SELECT, value 1

      CREDIT/SELECT = type 3 (EV_ABS), code 1 (ABS_Y), value 1
      START = type 3 (EV_ABS), code 0 (ABS_X), value -1
      HOTKEY = type 3 (EV_ABS), code 0 (ABS_X), value 1

      GPIO 2
      UP = type 1 (EV_KEY), code 315 (BTN_START), value 1
      DOWN = type 3 (EV_ABS), code 0 (ABS_X), value 1
      LEFT = type 3 (EV_ABS), code 0 (ABS_X), value -1
      RIGHT = type 3 (EV_ABS), code 1 (ABS_Y), value 1

      B = type 3 (EV_ABS), code 1 (ABS_Y), value -1
      Y = type 1 (EV_KEY), code 307 (BTN_NORTH), value 1
      X = type 1 (EV_KEY), code 310 (BTN_TL), value 1

      But, when i'm back in es i can attribute only half of my controllers, for example :

      UP, DOWN, LEFT, RIGHT, B, X, Y... But the others controls are not responding

      recalbox.conf is configured as :

      controllers.gpio.enabled=0
      controllers.gpio.args=map=1,2

      I lokked in :
      es_input.cfg
      But everything seems ok.

      Maybe i miss something

      Thank you in advance for the answers.

      Zing 1 Reply Last reply Reply Quote 0
      • Zing
        Zing Global moderator Translator @Multiface II+ last edited by

        @multiface-ii See if this helps:
        https://forum.recalbox.com/topic/24422/no-sound-on-splash-screen-and-gpio-doubt/4

        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 ?

        87
        Online

        98.7k
        Users

        28.1k
        Topics

        187.0k
        Posts

        Copyright © 2021 recalbox.com