Binding
此内容尚不支持你的语言。
Binding = {
code:string;kind:"key"; } | {button:number;kind:"mouse"; } | {button:number;kind:"gpButton";pad?:number; } | {axis:number;kind:"gpAxis";pad?:number;scale?:number; } | {kind:"keys1d";neg:string;pos:string; } | {down:string;kind:"keys2d";left:string;right:string;up:string; } | {kind:"stick";pad?:number;stick:"left"|"right"; } | {id:string;kind:"virtual"; }
Defined in: input/inputMap.ts:32
One physical source for an action. Plain serializable data on purpose: this is
also the rebind and persistence format, so what a player remaps is the same
shape a .inputmap asset ships.