aboutsummaryrefslogtreecommitdiff
path: root/src/app/main.js
diff options
context:
space:
mode:
author0neGal <mail@0negal.com>2024-06-14 23:30:39 +0200
committer0neGal <mail@0negal.com>2024-06-14 23:30:39 +0200
commit138464759f45a463104bfc6ca92a118e7a74101c (patch)
treecdbfaefd20410e786971118bb379cca50140eb96 /src/app/main.js
parent04b0e9fcea6c60257d7bc68994103eacb340a82b (diff)
downloadViper-138464759f45a463104bfc6ca92a118e7a74101c.tar.gz
Viper-138464759f45a463104bfc6ca92a118e7a74101c.zip
initial gamepad/keyboard navigation support
Far from complete, but this does the bulk of the work, the rest is just fixing places where the selection moves in weird ways after doing some things, and overall improving the look and feel of it.
Diffstat (limited to 'src/app/main.js')
-rw-r--r--src/app/main.js3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/app/main.js b/src/app/main.js
index 3adb96d..0a84e66 100644
--- a/src/app/main.js
+++ b/src/app/main.js
@@ -44,5 +44,8 @@ const launcher = require("./js/launcher");
const is_running = require("./js/is_running");
const set_buttons = require("./js/set_buttons");
+const navigate = require("./js/navigate");
+const gamepad = require("./js/gamepad");
+
require("./js/dom_events");
require("./js/localize")();