From 61456a19bef20621fbfe2cd25a3ce6b08ca17d29 Mon Sep 17 00:00:00 2001 From: Steven Hugg Date: Fri, 5 Jul 2019 20:42:14 -0400 Subject: [PATCH] use ctrl -> shift for btn 2 so arrow keys work --- index.html | 4 ++-- src/emu.ts | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/index.html b/index.html index f6f222a6..30f6ad2f 100644 --- a/index.html +++ b/index.html @@ -255,14 +255,14 @@ if (window.location.host.endsWith('8bitworkshop.com')) { diff --git a/src/emu.ts b/src/emu.ts index 8b40df99..28906868 100644 --- a/src/emu.ts +++ b/src/emu.ts @@ -342,7 +342,7 @@ export const Keys : {[keycode:string]:KeyDef} = { LEFT: {c: 37, n: "Left", plyr:0, xaxis:-1}, RIGHT: {c: 39, n: "Right", plyr:0, xaxis:1}, A: {c: 32, n: "Space", plyr:0, button:0}, - B: {c: 17, n: "Ctrl", plyr:0, button:1}, + B: {c: 16, n: "Shift", plyr:0, button:1}, GP_A: {c: 88, n: "X", plyr:0, button:0}, GP_B: {c: 90, n: "Z", plyr:0, button:1}, SELECT: {c: 220, n: "\\", plyr:0, button:8},