This example shows how to capture key events using Oak and Electron on OakOS
1.2K
An example app that demonstrates how keypress events can be captured usin the oak npm module
Make sure that you are running the right version of Node locally. You will find the required version in the .nvmrc file
If you are not running the same version (node -v) then you will need to run
nvm install $(cat .nvmrc)
npm run rebuild
npm run dev
xhost +
docker-compose up --build
docker-compose down
{
"services": [
{
"image": "index.docker.io/oaklabs/app-keyboard-oak:release-1.0.0",
"environment": {
"TZ": "America/Phoenix"
}
}
]
}
Content type
Image
Digest
Size
559.1 MB
Last updated
about 6 years ago
docker pull oaklabs/app-keyboard-oak