All Projects → song940 → input-event

song940 / input-event

Licence: MIT License
🎹 Read and parse input device(like mouse, keyboard, joystick and IR-Remote)'s event data.

Programming Languages

javascript
184084 projects - #8 most used programming language

Projects that are alternatives of or similar to input-event

Inputsystem
An efficient and versatile input system for Unity.
Stars: ✭ 1,013 (+2151.11%)
Mutual labels:  keyboard, events, input, mouse
LowLevelInput.Net
A thread safe and event driven LowLevelMouse and LowLevelKeyboard Hook
Stars: ✭ 32 (-28.89%)
Mutual labels:  keyboard, events, input, mouse
Enigo
Cross platform input simulation in Rust
Stars: ✭ 254 (+464.44%)
Mutual labels:  keyboard, input, mouse
Ucr
Universal Control Remapper [Alpha]
Stars: ✭ 399 (+786.67%)
Mutual labels:  keyboard, joystick, mouse
KeyLy
A powerfull and awesome Keylogger(Your keyboard and your mouse) realy helpfull for hackers! :-P (C/C++)
Stars: ✭ 17 (-62.22%)
Mutual labels:  keyboard, mouse, keylogger
Gainput
Cross-platform C++ input library supporting gamepads, keyboard, mouse, touch
Stars: ✭ 636 (+1313.33%)
Mutual labels:  keyboard, input, mouse
openinput
Open source firmware for input devices
Stars: ✭ 43 (-4.44%)
Mutual labels:  keyboard, input, mouse
Neatinput
A .NET standard project which aims to make keyboard and mouse input monitoring easy on Windows and eventually Linux.
Stars: ✭ 89 (+97.78%)
Mutual labels:  keyboard, input, mouse
uchroma
An advanced driver for Razer Chroma hardware in Linux
Stars: ✭ 45 (+0%)
Mutual labels:  keyboard, hardware, mouse
Ayase
🥥 Control everything by keyboard. Built for hackers and the blind.
Stars: ✭ 53 (+17.78%)
Mutual labels:  keyboard, mouse
gotomation
No description or website provided.
Stars: ✭ 18 (-60%)
Mutual labels:  keyboard, mouse
python-keylogger
Advanced Pure-Python Keylogger
Stars: ✭ 64 (+42.22%)
Mutual labels:  keyboard, keylogger
kindaVim.theapp
Ultimate Vim Mode for macOS
Stars: ✭ 372 (+726.67%)
Mutual labels:  keyboard, input
IwEngine
This is an engine that I initially started building after taking a game coding class in high school. I didn't like Unity so tried to make something more code focused that was personally easier to use.
Stars: ✭ 97 (+115.56%)
Mutual labels:  events, input
ackermann-drive-teleop
ROS keyboard and joystick teleoperation scripts for robots with ackermann steering
Stars: ✭ 33 (-26.67%)
Mutual labels:  keyboard, joystick
creviceapp
Multi purpose utility which supports gestures with mouse and keyboard.
Stars: ✭ 22 (-51.11%)
Mutual labels:  keyboard, mouse
kint
kinT keyboard controller (Kinesis controller replacement)
Stars: ✭ 191 (+324.44%)
Mutual labels:  keyboard, hardware
hotscript
HotScript - Revolutionizing how Windows works.
Stars: ✭ 29 (-35.56%)
Mutual labels:  keyboard, mouse
kurinji
Kurinji Input Map aims to decouple game play code from device specific input api. This is achieved by providing apis that allows you to map game actions to device input events instead of directly handling device inputs.
Stars: ✭ 47 (+4.44%)
Mutual labels:  keyboard, joystick
SerialProxy
🖱️⌨️ Arduino Input Proxying for PC (.NET Core)
Stars: ✭ 39 (-13.33%)
Mutual labels:  keyboard, mouse

input-event npm

read and parse input device(like mouse, keyboard and IR-Remote)'s event data

see also: https://www.kernel.org/doc/Documentation/input

Installation

$ npm install input-event --save

Example

const InputEvent = require('input-event');

const input = new InputEvent('/dev/input/event0');

const keyboard = new InputEvent.Keyboard(input);

keyboard.on('keyup'   , console.log);
keyboard.on('keydown' , console.log);
keyboard.on('keypress', console.log);

TODO

  • Keyboard
  • Mouse
  • IR-Remote
  • JoyStick
  • Rotary (eg. KY040)

API

check this file: index.js

Showcase

Contributing

  • Fork this repo
  • Clone your repo
  • Install dependencies
  • Checkout a feature branch
  • Feel free to add your features
  • Make sure your features are fully tested
  • Open a pull request, and enjoy <3

MIT license

Copyright (c) 2016 lsong

Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.


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].