Thumbstick Studio: Touch, Gamepad and Keyboard Controls Kit
README.md
controlsKitTests
Checks controlsKit's public interface:
- the catalogue (nine schemes, the engine maps they stand on; every stick, layout, gesture, look and prompt set; tilt honestly reported unsupported; unknown names raise);
- switching schemes and the shared action vocabulary;
- the action RPG scheme: its actions, every action bound on keyboard, pad and touch, clash-free defaults, the skill-arc layout at phone and desktop sizes, and tap-to-move points (
point/lastPoint); - reading values, edges and
on/offevents throughdrive+_step; - player isolation;
- rebinding with clash detection, reset and export/import;
- clean phone layouts for every scheme on notched, punch-hole and plain phones in both orientations, with nothing the menu draws covering a control;
- schemes standing on the engine's walking, driving and flight maps, engine key capture and the engine clash index;
- forward walks forward and back walks back, for every scheme and the racing drive;
- remembered bindings coming back on a later visit, and test runs leaving the live controls exactly as they were;
- prompt family mapping, skins and the d-pad's diagonals.
It leaves rendering and real device input alone (those were checked by hand with the input simulator). Run in edit mode: tools.use("tests", "run", { suite = "controlsKitTests" }).