This is a Gamepad Mapper tool that you can use to support gamepads in HTML5 exports of your games.

Normally JavaScript doesn't reliably map the same buttons and sticks to the same signals when players are using different devices on different systems, so this tool asks them to push all the buttons and move all the sticks on their gamepad while it listens, and it keeps that data in their browser's LocalStorage where your game can read and use it. When it's done, it auto-closes so the player goes right back to your game. And the configuration data that it generates is stored site-wide so if a player does the configuration from ANY game on itch.io, it will work for EVERY game on the site without needing to run the mapping tool again. I have demos and instructions on how to implement the gamepad mapper in Unity, Godot, HaxeFlixel, and pure JavaScript including source code in the Author Comments -- just be sure to change the URL for the mapper to be this webpage on itch.io.

StatusReleased
CategoryTool
PlatformsHTML5
Author3p0ch

Leave a comment

Log in with itch.io to leave a comment.