diff --git a/src/lib/components/Keyboard.js b/src/lib/components/Keyboard.js index b79d7601..f096f423 100644 --- a/src/lib/components/Keyboard.js +++ b/src/lib/components/Keyboard.js @@ -330,12 +330,17 @@ class SimpleKeyboard { this.holdTimeout = setTimeout(() => { if ( this.isMouseHold && + // TODO: This needs to be configurable through options ((!button.includes("{") && !button.includes("}")) || button === "{delete}" || button === "{backspace}" || button === "{bksp}" || button === "{space}" || - button === "{tab}") + button === "{tab}") || + button === "{arrowright}" || + button === "{arrowleft}" || + button === "{arrowup}" || + button === "{arrowdown}" ) { if (this.options.debug) console.log("Button held:", button);