From 845dcb81328f1b707394749dafe1b48663685547 Mon Sep 17 00:00:00 2001 From: Renge Date: Thu, 21 Apr 2022 15:38:59 -0400 Subject: [PATCH] fix: keymapping --- src/main.ts | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/src/main.ts b/src/main.ts index a5fed18..e79b22a 100644 --- a/src/main.ts +++ b/src/main.ts @@ -18,11 +18,11 @@ import WeaponTypeRegistry from "./shattered_sword/Registry/WeaponTypeRegistry"; inputs: [ {name: "left", keys: ["a", "arrowleft"]}, //TODO - add arrow keys {name: "right", keys: ["d", "arrowright"]}, - {name: "up", keys: ["w"]}, - {name: "down", keys: ["s"]}, - {name: "jump", keys: ["x","space"]}, - {name: "attack", keys: ["j","z","enter"]}, - {name: "dash", keys: ["k","x"]}, // + {name: "up", keys: ["w", "arrowup"]}, + {name: "down", keys: ["s", "arrowdown"]}, + {name: "jump", keys: ["z", "space"]}, + {name: "attack", keys: ["j","x","enter"]}, + {name: "dash", keys: ["k","c"]}, // {name: "skill", keys: ["l","v"]}, {name: "inventory", keys: ["i","b"]}, {name: "pause", keys: ["escape"]},