From 4972cd1eb93a19f72abf4fc2f222c6612fc20d65 Mon Sep 17 00:00:00 2001 From: jimmyGALLAND Date: Mon, 27 Oct 2025 00:56:30 +0100 Subject: [PATCH] Revert "disable debug mode, remove custom key bindings" This reverts commit e0d4177ffb063836ab9903447c781d5a806d4d24. --- lodeRunner.key.js | 3 +++ lodeRunner.misc.js | 2 +- 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/lodeRunner.key.js b/lodeRunner.key.js index d35c015..fafc09e 100644 --- a/lodeRunner.key.js +++ b/lodeRunner.key.js @@ -237,12 +237,15 @@ function pressKey(code) case "KeyU": case "KeyY": //Y key to dig left, for German keyboards case "Comma": + case "ControlRight": keyAction = ACT_DIG_LEFT; break; case "KeyX": case "KeyO": case "KeyE": case "Period": + case "Numpad0": + case "End": keyAction = ACT_DIG_RIGHT; break; case "Escape": //help & pause diff --git a/lodeRunner.misc.js b/lodeRunner.misc.js index 680b4d1..358c7a3 100644 --- a/lodeRunner.misc.js +++ b/lodeRunner.misc.js @@ -1,7 +1,7 @@ //============ // MISC //============ -var DEBUG = 0; +var DEBUG = 1; var demoSoundOff = 1; function debug(string)