Skip to content
Advertisement

On Screen Keyboard Pop Up Automatically

I’m building an application with Electron running on a Raspberry Pi. I want an on screen keyboard to pop up automatically whenever a textbox is selected. How can I accomplish this? Either a Linux or a JavaScript solution would work.

Advertisement

Answer

have you tried something like:

<input type="text" onclick="require('child_process').exec('matchbox-keyboard');" />
User contributions licensed under: CC BY-SA
4 People found this is helpful
Advertisement