Recalbox Forum

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

    Arcade joystick gpio

    GamePad/GPIO/USB encoder
    arcade joystick gpio
    2
    3
    1379
    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.
    • aaron-pirie
      aaron-pirie last edited by

      Hello, thank you for the release i have tried to get the Gpio drivers operating for joystick & button control below is the recalbox.conf file. Is there anyway to easily test each input? thank you so much # WARNING - THOSES VARIABLE OVERRIDE EMULATIONSTATION SETTINGS. # System Variable # You can configure your recalbox from here # To set a variable, remove the first ; on the line # ------------ A - Kodi ----------- # ## Show or hide kodi in emulationstation enable_kodi=0 ## Start kodi at launch kodi_at_start=0 ## set x button shortcut (enabled by default) kodi_by_xbutton=0 # ------------ B - Wifi ------------ # ## Set direclty your wifi key and ssid here ;wifi_ssid=new ssid ;wifi_key=new key # ------------ C - Audio ------------ # ## Set the audio output ## select between auto, hdmi, jack ;audio_output=jack # ------------ D - XBOX Controllers ------------ # ## Xbox controllers are already supported, but xboxdrv can solve some compatibility issues ## Disable this if you use ps3 controllers ;enable_xbox_drv=0 ## set the amount of controllers to use with xboxdrv ;xboxdrv_nb_controls=2 # ------------ 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 ## DB9 Controllers ## enable db9 drivers ;enable_db9=0 ## db9 arguments ;db9_args=map=1 ## gamecon controllers ## enable gamecon controllers, ;enable_gamecon=0 ## gamecon_args ;gamecon_args=map=1 # ------------ F - Language and keyboard ------------ # ## Set the language of the system : fr_FR, en_US, en_GB, de_DE, pt_BR, es_ES ;language=en_US ## set the keyboard layout : fr, en, de, us, es ;kb_layout=us ## Set you local time ## select your timezone from : ls /usr/share/zoneinfo/ ;time_zone=Europe/Paris # ------------ G - UPDATES ------------ # ## automatically check for updates at start enable_updates_check=0 # ------------ H - GAMES RESOLUTION ------------ # ## set game resolution for emulators ## select your mode from the command : tvservice -m CEA ## mode 5: 1920x1080 @ 60Hz 16:9, clock:74MHz interlaced ## mode 4: 1280x720 @ 60Hz 16:9, clock:74MHz progressive ;game_hdmi_mode=5 # ------------ I - EMULATORS CHOICES ----------- # ## If two emulators are available for a platform you can switch here ## SNES : use pocketsnes (recommended for rpi1), catsfc or snes9x ;snes_emulator=pocketsnes

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

        Hi, Do the controllers work in emulationstation or in game ? You can use this tutorial to get a root access on a terminal : https://github.com/digitalLumberjack/recalbox-os/wiki/Root-access-on-terminal-(EN) and then use "jstest /dev/input/js0" command to test the first joystick and replace js0 with js1 to test the second one.

        1 Reply Last reply Reply Quote 0
        • aaron-pirie
          aaron-pirie last edited by

          Yes controller works tried the js test js0 works ok. Nothing on js1?

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

          Want to support us ?

          88
          Online

          91.7k
          Users

          26.9k
          Topics

          183.5k
          Posts

          Copyright © 2021 recalbox.com