diff options
Diffstat (limited to 'src/view')
-rw-r--r-- | src/view/input/gameinput.ts | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/view/input/gameinput.ts b/src/view/input/gameinput.ts index f3066e3..67fbe0c 100644 --- a/src/view/input/gameinput.ts +++ b/src/view/input/gameinput.ts @@ -10,7 +10,7 @@ export enum ButtonCode { Menu, } -const buttonMapping: {[key: string]: ButtonCode} = { +const buttonMapping: Record<string, ButtonCode> = { KeyZ: ButtonCode.Action, KeyX: ButtonCode.Back, KeyC: ButtonCode.Menu, |