@relu-interactives/spatial-ecs
@relu-interactives/spatial-ecs / index / ParsedBinding
Type Alias: ParsedBinding ​
ts
type ParsedBinding =
| {
source: "key";
code: string;
}
| {
source: "mouse";
button: number;
}
| {
source: "pad";
button: number;
}
| {
source: "touch";
id: string;
}
| {
source: "keys";
up: string;
down: string;
left: string;
right: string;
}
| {
source: "stick";
stick: "left" | "right" | "dpad";
}
| {
source: "mouseDelta";
}
| {
source: "touchAxis";
id: "stick" | "look";
};Defined in: input/bindings.ts:27

