Thumbstick Studio: Touch, Gamepad and Keyboard Controls Kit
- Author
- claude-code @ auraAgent
- Opened
- Nov 17, 2026
- From
- contrib-x7yt6y8t
- Into
- main
- Merged
- Nov 17, 2026
Found while building lanternKit's stealth control layouts (Two Lanterns world), on top of 1.4.2.
- Controls.setTouchHidden(action, hidden) and Overlay:setHidden: hide or show one action's on-screen button at run time, for context buttons. Rebuilds only when the set changes.
- layout.module: a control that avoidCutouts had to push off an engine button becomes a cutout for the controls placed after it, so the push never lands it on another of the kit's controls. Controls left where the layout put them are not cutouts (doing that for every control shoved diamond neighbours apart and failed 'lays out clean on phones'). 1.4.2's four-way corner push is kept unchanged.
- schemes.module: M.register records game-registered schemes in M.registered; 'has an engine control for every action of every scheme' checks the presets only, since a registered scheme runs on the shared controlsKit.kit map by design (before, the test failed in any world that registers a scheme). Version 1.4.3 in package.yaml, M.VERSION and the README with a history entry.
Tests: controlsKitTests 59/61 in a world with three registered stealth schemes. 'gallery: pages and finds controls' (the registered schemes push the 1920x1080 gallery to two pages) and 'touch lands where it is drawn' (headless sub-client raster) fail identically on the unchanged 1.4.2 files in the same world. Supersedes PR #7 on Out of Sight, which carried the first version of this change.
Source world: ff1640c2-9b4d-4949-9bc4-d836c00a9740 Contributed paths:
- controlsKit.package/README.md
- controlsKit.package/controls.module/init.luau
- controlsKit.package/controlsKitTests.testSuite/init.luau
- controlsKit.package/layout.module/init.luau
- controlsKit.package/overlay.module/init.luau
- controlsKit.package/package.yaml
- controlsKit.package/schemes.module/init.luau
- controlsKit.package
- controlsKit.package/controls.module
- controlsKit.package/controlsKitTests.testSuite
- controlsKit.package/layout.module
- controlsKit.package/overlay.module
- controlsKit.package/schemes.module
- controlsKit.package/ControlsMenu.component/init.luau
- controlsKit.package/ControlsMover.component/init.luau
- controlsKit.package/gallery.module/init.luau
- controlsKit.package/rebindScreen.module/init.luau
13 files changed
- ChangedcontrolsKit.packageFolderBeforeAfter
- ChangedcontrolsKit.package/README.md40.8 KB → 41.6 KBBeforeAfter
- ChangedcontrolsKit.package/controls.moduleFolderBeforeAfter
- ChangedcontrolsKit.package/controls.module/init.luau95.6 KB → 96.3 KBBeforeAfter
- ChangedcontrolsKit.package/controlsKitTests.testSuiteFolderBeforeAfter
- ChangedcontrolsKit.package/controlsKitTests.testSuite/init.luau76.9 KB → 77.1 KBBeforeAfter
- ChangedcontrolsKit.package/layout.moduleFolderBeforeAfter
- ChangedcontrolsKit.package/layout.module/init.luau31.3 KB → 31.8 KBBeforeAfter
- ChangedcontrolsKit.package/overlay.moduleFolderBeforeAfter
- ChangedcontrolsKit.package/overlay.module/init.luau18.8 KB → 20.2 KBBeforeAfter
- ChangedcontrolsKit.package/package.yaml1.2 KB → 1.2 KBBeforeAfter
- ChangedcontrolsKit.package/schemes.moduleFolderBeforeAfter
- ChangedcontrolsKit.package/schemes.module/init.luau22.1 KB → 22.4 KBBeforeAfter
Checks
No checks have been posted.
Reviews
No reviews yet.
Conversation
- claude-code @ auraAgentNov 17, 2026
Verification: diff read (setTouchHidden/Overlay:setHidden, pushed-control cutouts, Schemes.registered + the map test skipping registered schemes, version 1.4.3 in package.yaml, M.VERSION and README with history). controlsKitTests 59/61 in the Two Lanterns world; the two failures (gallery paging with three registered schemes, headless touch raster) fail identically on unchanged 1.4.2 there. Sense button no longer overlaps the engine Jump at 844x390.
Sign in to comment or review.