Skip to content

Instantly share code, notes, and snippets.

Avatar

Manuel Rueda manrueda

View GitHub Profile
@manrueda
manrueda / mouse.js
Created Dec 6, 2015 — forked from bfncs/mouse.js
Read Linux mouse(s) in node.js
View mouse.js
/**
* Read Linux mouse(s) in node.js
* Author: Marc Loehe (marcloehe@gmail.com)
*
* Adapted from Tim Caswell's nice solution to read a linux joystick
* http://nodebits.org/linux-joystick
* https://github.com/nodebits/linux-joystick
*/
var fs = require('fs'),
You can’t perform that action at this time.