Skip to content

Instantly share code, notes, and snippets.

View TomV's full-sized avatar

Tom V TomV

  • UsefulBots
  • San Francisco, CA, USA
  • 17:49 (UTC -12:00)
View GitHub Profile
@TomV
TomV / mouse.js
Created November 12, 2012 05:21 — 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'),