Lepik Events
An event based, Global Keyboard and Mouse listener.
Installing
npm install lepikevents
Coding
const lepikEvents = require('lepikevents');
lepikEvents.events.on('keyRelease', (data) => {
console.log(data);
});
lepikEvents.events.on('mouseClick', (data) => {
console.log(data);
});
All events
Curently there are only 2 events, mouseClick and keyRelease.
I will try to implement more in future.
Requirements
Lepik Events uses Python keyboard and Python mouse which runs on Python.
If your are on Windows, then you don't even have to have it installed, cause thanks to Pyinstaller, the code is compiled into executable.
License
The code is licensed under the MIT license (http://opensource.org/licenses/MIT). See LICENSE file.