All Projects → miguelmota → global-keypress

miguelmota / global-keypress

Licence: MIT license
Global key press event emitter.

Programming Languages

c
50402 projects - #5 most used programming language
javascript
184084 projects - #8 most used programming language
shell
77523 projects
Makefile
30231 projects

Projects that are alternatives of or similar to global-keypress

Chordly
Chordly is a javascript library that may be used to detect and act upon key sequences entered by a user.
Stars: ✭ 14 (-44%)
Mutual labels:  keyboard, keypress, keyboard-events
re-pressed
re-pressed is a clojurescript library that handles keyboard events for re-frame applications.
Stars: ✭ 150 (+500%)
Mutual labels:  keyboard, keypress, keyboard-events
Hotkeys
➷ A robust Javascript library for capturing keyboard input. It has no dependencies.
Stars: ✭ 5,165 (+20560%)
Mutual labels:  keyboard, keypress
fusuma-plugin-keypress
Keypress combination plugin for Fusuma
Stars: ✭ 21 (-16%)
Mutual labels:  keyboard, keypress
ember-key-manager
A service for (un)binding keyboard up and down events.
Stars: ✭ 39 (+56%)
Mutual labels:  keyboard, keyboard-events
Keyboardjs
A JavaScript library for binding keyboard combos without the pain of key codes and key combo conflicts.
Stars: ✭ 1,881 (+7424%)
Mutual labels:  keyboard, keyboard-events
hidstream
Streaming HID events in Node.js
Stars: ✭ 52 (+108%)
Mutual labels:  keyboard, keyboard-events
react-keyevent
An easy-to-use keyboard event react component, Package size less than 3kb
Stars: ✭ 38 (+52%)
Mutual labels:  keyboard, keyboard-events
FN-key-lock
A Script/Program to simulate hardware F key lock on F1-F12 keys with custom controls and visible lock notifications.
Stars: ✭ 25 (+0%)
Mutual labels:  keyboard
nestjs-toolbox
The repository contains a suite of components and modules for Nest.js
Stars: ✭ 166 (+564%)
Mutual labels:  logger
monolog-sentry-handler
Monolog handler for Sentry PHP SDK v2 with breadcrumbs support
Stars: ✭ 34 (+36%)
Mutual labels:  logger
KeyLy
A powerfull and awesome Keylogger(Your keyboard and your mouse) realy helpfull for hackers! :-P (C/C++)
Stars: ✭ 17 (-32%)
Mutual labels:  keyboard
ShortcutJS
Keyboard manager for javascript and typescript, made for humans 😎
Stars: ✭ 26 (+4%)
Mutual labels:  keyboard
telegram-keyboard
Simple and powerful reply and inline keyboard builder for Telegram Bots
Stars: ✭ 70 (+180%)
Mutual labels:  keyboard
debug.js
Debugger of JavaScript, by JavaScript, for JavaScript
Stars: ✭ 19 (-24%)
Mutual labels:  logger
logt
🖥️ A colourful logger for the browser
Stars: ✭ 35 (+40%)
Mutual labels:  logger
chronica
Logger framework for Erlang applications
Stars: ✭ 57 (+128%)
Mutual labels:  logger
keykee
这是一个记录键盘的使用情况的软件,精确统计每个按键,按键24小时统计,按键频次趋势分析
Stars: ✭ 15 (-40%)
Mutual labels:  keyboard
Meteor-logger
🧾 Meteor isomorphic logger. Store application logs in File (FS), MongoDB, or print in Console
Stars: ✭ 51 (+104%)
Mutual labels:  logger
JINS-MEME-Python-WebSocketServer-Sample
JINS MEME(2021年モデル)のJINS MEME LoggerをPythonのWebSocketサーバーで受信するサンプル
Stars: ✭ 19 (-24%)
Mutual labels:  logger

global-keypress

Global key press event emitter

NOTE: requires sudo privileges. GUI prompt will appear asking for sudo access if not running as root.

Supports Mac OS X and Linux.

Install

npm install global-keypress

Development

compile native module

npm run compile

Usage

const GK = require('global-keypress');

// instantiate
const gk = new GK();

// launch keypress daemon process
gk.start();

// emitted events by process
gk.on('press', data => {
  console.log(data);

  // example output
  /*
  { data: 'a' }
  { data: 'b' }
  { data: '1' }
  { data: '2' }
  { data: '<RShift>' }
  { data: 'A' }
  { data: 'B' }
  { data: '!' }
  { data: '@' }
  { data: '[released <RShift>]' }
  { data: '<Enter>' }
  */
});

// process error
gk.on('error', error => {
  console.error(error);
});

// process closed
gk.on('close', () => {
  console.log('closed');
});

// manual stop
gk.stop();

Resources

License

MIT

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].