12 lines
295 B
TypeScript
12 lines
295 B
TypeScript
export interface KeyBinding {
|
|||
|
|
keys: string;
|
||
|
|
action: string;
|
||
|
|
}
|
||
|
|
|
||
|
|
export const KEY_BINDINGS: KeyBinding[] = [
|
||
|
|
{ keys: "Left Shift", action: "Left flipper" },
|
||
|
|
{ keys: "Right Shift", action: "Right flipper" },
|
||
|
|
{ keys: "Enter", action: "Plunger" },
|
||
|
|
{ keys: "1", action: "Start game" },
|
||
|
|
];
|