RetroPie forum home
    • Recent
    • Tags
    • Popular
    • Home
    • Docs
    • Register
    • Login

    Introducing: Arcade DT, the joystick driver for GPIO completely defined in device tree source

    Scheduled Pinned Locked Moved Ideas and Development
    devicetreeevdevgpiomcp23017joystick
    2 Posts 2 Posters 166 Views
    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.
    • LolonoisL
      Lolonois
      last edited by

      I am pleased to announce the release of Arcade DT [1], which setups GPIO connected joysticks as event devices by using the device tree specification.

      Arcade DT works also with newer boards, where kernel a module like mk_arcade_joystick_rpi falls short. The project goes back to the idea sparked in this thread [2].

      It supports up to 2 x 13 buttons GPIO joysticks or up to 8 x 16 buttons when using Microchip port expanders.

      Tested with Rpi3+, Rpi4, Rpi5 and kernels 4.x, 5.x and 6.x. (Raspi OS Buster to Bookworm). It should also work out-of-the-box with other Rpi models as the project abstracts from board specific details.

      Any Qs, let me know.

      [1] https://github.com/gemba/arcade-dt
      [2] https://retropie.org.uk/forum/topic/34243/driver-mk_arcade_joystick-multiple-mcp23017-and-per-mcp-button-mapping

      1 Reply Last reply Reply Quote 3
      • mituM
        mitu Global Moderator
        last edited by

        Great job replacing the kernel driver with the device tree counterpart !

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

        Contributions to the project are always appreciated, so if you would like to support us with a donation you can do so here.

        Hosting provided by Mythic-Beasts. See the Hosting Information page for more information.