Documentation / @debuffjp/input / TouchControlsOptions
Interface: TouchControlsOptions
Defined in: touch.ts:34
Properties
buttons?
optionalbuttons?:Record<string,TouchSpot>
Defined in: touch.ts:38
Buttons by name, read as Touch<name>: { A: { x: -24, y: -24 } } is "TouchA".
show?
optionalshow?:"touch"|"always"|"never"
Defined in: touch.ts:40
"touch" (default): visible from the first touch, so mouse and keyboard players never see them.
stick?
optionalstick?:TouchStickOptions
Defined in: touch.ts:36
A stick, read as TouchStickLeft, TouchStickRight, TouchStickUp and TouchStickDown.