Recalbox Forum

    • Register
    • Login
    • Search
    • Recent
    • Tags
    • recalbox.com
    • Gitlab repository
    • Documentation
    • Discord
    1. Home
    2. Tags
    3. game-hat
    Log in to post
    • All categories
    • Kamal

      Game-hat buttons not working
      GamePad/GPIO/USB encoder • game-hat drivers buttons joy • • Kamal

      3
      0
      Votes
      3
      Posts
      1606
      Views

      Dennis Müller

      Hey, here's a step by step tutorial: https://forum.recalbox.com/topic/15602/mapping-gpio-poru-game-hat/12

      The "mk_arcade_joystick_rpi.ko" file can be downloaded further up in the thread.

      Thanks again to the people in the thread.

    • Elwood69

      Mapping GPIO poru Game-Hat
      Manettes/GPIO/Encodeurs • mapping gpio poru game-hat • • Elwood69

      17
      0
      Votes
      17
      Posts
      10591
      Views

      AlfaJackal

      Tried this exactly as you wrote but with the current stable build on a Pi3b. What happens is this: https://i.imgur.com/KJeZjIa.jpg

      Here is my config:

      ## GPIO Controllers ## enable controllers on GPIO with mk_arcarde_joystick_rpi (0,1) controllers.gpio.enabled=1 ## mk_gpio arguments, map=1 for one controller, map=1,2 for 2 (map=1,map=1,2) #controllers.gpio.args=map=1,2 controllers.gpio.args=map=5 gpio=5,4,14,22,13,18,21,16,6,20,26,12,-1