Building NodeJS Electron On Screen Keyboard, Can't Send KeyStroke
<p>So the idea is this: build an on screen keyboard app for computers that can turn into tablets like the Lenovo Yoga. Something cross platform so we don't have to put up with windows 10.</p>

<p>So I've installed NodeJS with Electron for window management on Linux Mint 17.3. I've got the windows and elements all working fine, but when it comes to putting a keystroke into another application I fall flat.</p>

<p>My only idea so far is to use an external java jar that uses Robot (kbm-robot NodeJS component) to send system wide keystrokes. First send alt and tab, then the key I want, but it takes a long time (for keystrokes) and is very unstable (losing the correct window focus etc).</p>

<p>Has anyone got an ideas for something more stable? Linux only solutions accepted!</p>

<p>If anyone is interested in the source, I'll happily put it up somewhere.</p>