Skip to content

willdoescode/globalkey

Folders and files

NameName
Last commit message
Last commit date

Latest commit

History

21 Commits

Repository files navigation

npmdownloads

GlobalKey

Building

cargo install nj-cli nj-cli build --release

Calling from node

npm i globalkey # or yarn add globalkey
constglobalkey=require('globalkey');globalkey.start(x=>console.log(`Keydown ${x}`),y=>console.log(`Keyup ${y}`));setTimeout(()=>globalkey.stop(),5000)

About

Node/Electron library for global key listening.

Topics

Resources

Stars

Watchers

Forks