lavolp3 / mmm-keyboard Goto Github PK
View Code? Open in Web Editor NEWA MagicMirror module displaying a virtual keyboard for touch devices. The keyboard can be used to send any input to other modules.
License: MIT License
A MagicMirror module displaying a virtual keyboard for touch devices. The keyboard can be used to send any input to other modules.
License: MIT License
Hi,
This module sounds like exactly what I'm after, since I'm using MagicMirror (2.10.1) on a touchscreen display.
I installed it (no issue), copy/paste the example config i.e. :
{
module: "MMM-Keyboard",
disabled: false,
position: "top_left",
config: {
locale: "de-DE"
}
},
and nothing shows up. After inspecting the developer console logs from a browser, I can see the following error, which happens only when I enable MMM-Keyboard:
TypeError: Failed to execute 'appendChild' on 'Node': parameter 1 is not of type 'Node'.
EDIT: to be more complete, here are the console logs with ONLY MMM-Keyboard enabled:
Initializing MagicMirror.
translator.js:202 Loading core translation file: translations/fr.json
translator.js:225 Loading core translation fallback file: translations/en.json
loader.js:179 Load script: modules/MMM-Keyboard//MMM-Keyboard.js
module.js:476 Module registered: MMM-Keyboard
loader.js:150 Bootstrapping module: MMM-Keyboard
loader.js:179 Load script: modules/MMM-Keyboard/node_modules/simple-keyboard/build/index.js
loader.js:155 Scripts loaded for: MMM-Keyboard
loader.js:194 Load stylesheet: modules/MMM-Keyboard/node_modules/simple-keyboard/build/css/index.css
loader.js:157 Styles loaded for: MMM-Keyboard
loader.js:159 Translations loaded for: MMM-Keyboard
loader.js:194 Load stylesheet: css/custom.css
main.js:473 All modules started!
module.js:156 MMM-Keyboard received a system notification: ALL_MODULES_STARTED
TypeError: Failed to execute 'appendChild' on 'Node': parameter 1 is not of type 'Node'.
at updateModuleContent (main.js:213)
at main.js:141
at new Promise (<anonymous>)
at updateDomWithContent (main.js:139)
at main.js:121
Any idea what I am missing ?
Hey mate! Nice Keyboard!
It works with MMM-Bring. If I want to add a new Item to my shipping List the Keyboard is appearing nicely. But when I enter my text and "send" it, the keyboard disappears, as I want to but in my Bring! Shipping List there is no new Item. What am I doing wrong?
Thx 4 help bro ๐
Toby
hi amazing module thank you.
Just a quick question is it possible to integrate this module to a webpage module and browse any site?
Hi great work! thanks
you should add after line 90
this.keyboard.clearInput();
else it will not clear the keyboards input
thanks
Hello,
I would like to display a website Google Calendar and use this module to make or edit new entries. Would be it possible?
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.