Thumbstick Studio: Touch, Gamepad and Keyboard Controls Kit
README.md
controlsKit.schemes
The nine genre presets (platformer, twinStick, fps, flying, racing, rts, rhythm, card, arpg) as data: each action's kind, label, default keys, pad buttons, touch layout and gestures. On-foot presets stand on the engine's walking map, racing on its driving map and flying on walking + flight: an action that says from = "walking.jump" takes that engine control's keyboard, mouse and pad bindings (read by controlsKit.engineMaps) and adds the preset's extras on top. It is also the catalogue of every stick variant, button layout and gesture the kit knows. get(name) returns a safe-to-edit, fully resolved copy and errors on a typo; register(name, t) adds a scheme of your own.