diff --git a/webserver/client.html b/htdocs/index.html
similarity index 92%
rename from webserver/client.html
rename to htdocs/index.html
index ec23cc0..972bfa3 100644
--- a/webserver/client.html
+++ b/htdocs/index.html
@@ -1,6 +1,7 @@
-
+
+
@@ -41,7 +42,7 @@
if (pass == null || pass == "") {
document.getElementById("view").innerHTML = ""
} else {
- document.getElementById("view").innerHTML = "CURRENT COMMAND SHORTCUTS:
HOME: H
UP: W
LEFT: A
DOWN: S
RIGHT: D
Back: X
Volume Up: P
Volume Down: O
MUTE: M
Enter: Enter
Picture Mode: P
Not Working? Issue a new Token using: r";
+ document.getElementById("view").innerHTML = "CURRENT COMMAND SHORTCUTS:
HOME: H
UP: W
LEFT: A
DOWN: S
RIGHT: D
Back: X
Volume Up: P
Volume Down: O
MUTE: M
Enter: Enter
Picture Mode: L
Open Text Input
Not Working? Issue a new Token using: r";
function addEvent(element, eventName, callback) {
@@ -54,13 +55,18 @@
}
}
+ function showPop() {
+ var popup = document.getElementById("myPopup");
+ popup.classList.toggle("show");
+ }
+
addEvent(document, "keypress", function (e) {
console.log(e)
e = e || window.event;
// Handle
if (e.key == "w") {
- fetch(rootURL + "/up")
+ fetch(rootURL + "/up")
.then(function (response) {
return response.json();
})
@@ -163,7 +169,7 @@
})
}
- if (e.key == "p") {
+ if (e.key == "l") {
fetch(rootURL + "/pmode")
.then(function (response) {
commandData
diff --git a/webserver/input.html b/htdocs/input.html
similarity index 100%
rename from webserver/input.html
rename to htdocs/input.html