prendy
Version:
Make games with prerendered backdrops using babylonjs and repond
44 lines (43 loc) • 1.08 kB
TypeScript
export default function keyboards(): {
startStates: {
main: {
KeyW: boolean;
KeyA: boolean;
KeyS: boolean;
KeyD: boolean;
ArrowLeft: boolean;
ArrowRight: boolean;
ArrowUp: boolean;
ArrowDown: boolean;
KeyQ: boolean;
KeyE: boolean;
ShiftLeft: boolean;
ControlLeft: boolean;
Space: boolean;
Enter: boolean;
KeyZ: boolean;
KeyM: boolean;
KeyP: boolean;
};
};
getDefaultState: () => {
KeyW: boolean;
KeyA: boolean;
KeyS: boolean;
KeyD: boolean;
ArrowLeft: boolean;
ArrowRight: boolean;
ArrowUp: boolean;
ArrowDown: boolean;
KeyQ: boolean;
KeyE: boolean;
ShiftLeft: boolean;
ControlLeft: boolean;
Space: boolean;
Enter: boolean;
KeyZ: boolean;
KeyM: boolean;
KeyP: boolean;
};
getDefaultRefs: () => {};
};