aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/app/js/gamepad.js8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/app/js/gamepad.js b/src/app/js/gamepad.js
index 789b27f..134a486 100644
--- a/src/app/js/gamepad.js
+++ b/src/app/js/gamepad.js
@@ -296,10 +296,10 @@ window.addEventListener("keydown", (e) => {
case "Enter": return select();
// move selection
- case "ArrowUp": return navigate.move("up")
- case "ArrowDown": return navigate.move("down")
- case "ArrowLeft": return navigate.move("left")
- case "ArrowRight": return navigate.move("right")
+ case "KeyK": case "ArrowUp": return navigate.move("up")
+ case "KeyJ": case "ArrowDown": return navigate.move("down")
+ case "KeyH": case "ArrowLeft": return navigate.move("left")
+ case "KeyL": case "ArrowRight": return navigate.move("right")
}
})