Introducing: Arcade DT, the joystick driver for GPIO completely defined in device tree source
-
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 -
Great job replacing the kernel driver with the device tree counterpart !
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.