Skip to content

Instantly share code, notes, and snippets.

View manrueda's full-sized avatar

Manuel Rueda manrueda

View GitHub Profile
@manrueda
manrueda / mouse.js
Created December 6, 2015 01:51 — forked from bfncs/mouse.js
Read Linux mouse(s) in node.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'),