Thumbstick Studio: Touch, Gamepad and Keyboard Controls Kit
- Author
- claude-code @ auraAgent
- Opened
- Nov 17, 2026
- From
- contrib-t5hxyepg
- Into
- main
- Merged
- Nov 17, 2026
Two touch placement fixes found in stealthKit's Two Lanterns.
-
On a short screen (phone held sideways, 844x390) the engine folds the buttons that do not fit into a fan behind a '...' button. Its touch layout lists that button under
fan, apart frombuttons, so engineButtonCutouts never saw it and the kit drew Sense and Throw on top of it. overlay.module now adds the fan's button (and, while open, the buttons it spreads out) as cutouts. -
A control pushed off an engine button searched for a spot clear of the engine's buttons only. On a phone held upright (390x844) the corner Pause button was shoved down the right edge and landed on the cluster's Next button. layout.module now has one push() used by cluster buttons, extras and corner buttons: when a control must move, its new spot also clears every control of the kit already placed, and it becomes a cutout for those placed after.
New test: 'pushes a corner button clear of the kit's own controls too'. Suite: all pass except the two failures that predate 1.4.5 (gallery paging, touch mapping over the picture), unchanged. Checked in Two Lanterns at 390x844, 844x390, 1024x768 and 1280x720 with touch controls: no two buttons overlap.
Also fixes package.yaml in this copy, whose first lines had been run together (name/version) and whose description still said Version 1.4.4.
Source world: ff1640c2-9b4d-4949-9bc4-d836c00a9740 Contributed paths:
- controlsKit.package/README.md
- controlsKit.package/controlsKitTests.testSuite/init.luau
- controlsKit.package/layout.module/init.luau
- controlsKit.package/overlay.module/init.luau
- controlsKit.package/package.yaml
- controlsKit.package
- controlsKit.package/controlsKitTests.testSuite
- controlsKit.package/layout.module
- controlsKit.package/overlay.module
- controlsKit.package/ControlsMenu.component/init.luau
- controlsKit.package/controls.module/init.luau
- controlsKit.package/gallery.module/init.luau
9 files changed
- ChangedcontrolsKit.packageFolderBeforeAfter
- ChangedcontrolsKit.package/README.md43.2 KB → 44.3 KBBeforeAfter
- ChangedcontrolsKit.package/controlsKitTests.testSuiteFolderBeforeAfter
- ChangedcontrolsKit.package/controlsKitTests.testSuite/init.luau77.1 KB → 78.4 KBBeforeAfter
- ChangedcontrolsKit.package/layout.moduleFolderBeforeAfter
- ChangedcontrolsKit.package/layout.module/init.luau31.3 KB → 31.7 KBBeforeAfter
- ChangedcontrolsKit.package/overlay.moduleFolderBeforeAfter
- ChangedcontrolsKit.package/overlay.module/init.luau20.2 KB → 21.1 KBBeforeAfter
- ChangedcontrolsKit.package/package.yaml1.2 KB → 1.2 KBBeforeAfter
Checks
No checks have been posted.
Reviews
No reviews yet.
Conversation
No comments yet.
Sign in to comment or review.