Update eaglermobile.user.js

Added console logs so I can see what is happening on Android
This commit is contained in:
FlamedDogo99 2024-06-09 18:05:56 -06:00
parent 243664634a
commit c45e5da373

View File

@ -368,7 +368,9 @@ function insertCanvasElements() {
hiddenInput.value = " " //Allows delete to be detected before input is changed
hiddenInput.addEventListener("input", function(e) {
e.preventDefault(true);
let inputData = e.data == null ? "delete" : e.data.slice(-1); // backspace makes null
let inputData = e.data == null ? "delete" : e.data.slice(-1);
console.log("Received input!", inputData, e.inputType)
window.lastKey = inputData
hiddenInput.value = " "; // We need a character to detect deleting
if(window.keyboardFix) {