Recalbox Forum

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

    GPIO 2 Player

    GamePad/GPIO/USB encoder
    gpio player
    4
    10
    2844
    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.
    • danco
      danco last edited by

      Hi, I'm trying to mount an arcade for 2 players by GPIO, and I changed the recalbox.conf such that well. ------------ E - GPIO Controllers ------------ # ## If one of the enable_[controller] is set to 1, set the other to 0 ## GPIO Controllers ## enable controllers on GPIO (mk_arcard_joystick_rpi) enable_mk_gpio=0 ## mk_gpio arguments (map=1 for only one gpio controller) mk_gpio_args=map=1,2 What I have to do now? I tried to install the scrip as it says here https://github.com/digitalLumberjack/mk_arcade_joystick_rpi/blob/master/README.md but not how to continue to operate it. Can anyone help me how to follow?

      1 Reply Last reply Reply Quote 0
      • digitaLumberjack
        digitaLumberjack Staff last edited by

        Hi, in order to enable the GPIOs set it to 1 enable_mk_gpio=1 It's all you have to do. No install needed, the instructions on the mk readme are for other os 🙂

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

          I changed the 0 to 1 but not on the menu and in-game joystick recognize me. I have a raspberry pi model b 2 v1.1

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

            Run this to check player1 controls jstest /dev/input/js0 Use js1 for player2

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

              When I put this command tells me not found, as I do?

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

                what's your output for: ls -la /dev/input/   have you put a space between jstest and the path /dev/input/js0    ?

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

                  I feel the delay in responding, I have not had time, when I put  ls / dev / input / what I get is, by-id by-path event0 event1 event2 mice mouse0 me nothing appears to js0 or js1 as it appears on your image you put what am I doing wrong?

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

                    Hello read this , for help may be 😉 https://github.com/digitalLumberjack/recalbox-os/wiki/Test-your-joystick-with-jstest-(EN)

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

                      have you got a clean installation of recalbox? which release? for my home made arcade controller i had only to enable/edit this 2 lines in recalbox.conf   enable_mk_gpio=1 mk_gpio_args=map=1,2 then run _ jstest /dev/input/js0_ and  jstest /dev/input/js1 to test button and joystics for both players Are you sure you have wired correctly your arcade panel to the GPIO ?

                      1 Reply Last reply Reply Quote 0
                      • digitaLumberjack
                        digitaLumberjack Staff last edited by

                        Try to edit the file with nano in commandline or with notepad++ from windows

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

                        Want to support us ?

                        84
                        Online

                        98.7k
                        Users

                        28.1k
                        Topics

                        187.0k
                        Posts

                        Copyright © 2021 recalbox.com