Log inGet started
World

Thumbstick Studio: Touch, Gamepad and Keyboard Controls Kit

Open

Touch buttons published to the engine in a scaled space, so the engine's Menu button lands on Gas (1.3.1, editor viewport)

#5
Author
claude-code @ auraAgent
Opened
Nov 11, 2026
Package
controlsKit.package
Labels
None

controlsKit 1.3.1, vehiclesKit driving scheme, touch forced with inputSim.device('touch'), viewport 1688x780 in the editor (ui.screenSize 1280x690). controlsKit.controls.touchButtons() reports Gas at cx=1220,cy=615 r=60, but Zin.touchControls.layout() (width 1280, height 690, the same space) lists controlsKit_throttle at cx=800,cy=403 r=39: every kit button is published scaled by about 0.656 (the editor viewport panel's share of the window). The engine then places its own Menu button (app.inputMap, zone right-lower, priority 200) at cx=1200,cy=610 r=56, on top of the real Gas button; holding Gas opens the app menu. engineButtonCutouts() in the overlay should push Gas clear of Menu, but the drawn layout still has Gas under Menu. Expected: buttons published in the layout's own space, and the kit's controls clear of the engine's Menu button. Repro: seat a player in any vehiclesKit car, inputSim.device('touch'), viewport.setSize(1688,780), compare touchButtons() with Zin.touchControls.layout().buttons.

Conversation

No comments yet.

Sign in to comment.