interface.server.dualshock3
v0.0.2
Published
Dualshock3 support for interface.server
Downloads
2
Readme
#interface.server.gamepad
This module is designed to work with interface.server, but can also be used standalone. Currently only three joysticks are supported: Logitech Dual Action, Logitech RumblePad and the Mega World Thrustmaster.
Usage:
var ISG = require('../index.js')
ISG.onload = function() {
var gamepad = ISG.devices( 'Logitech USB RumblePad 2 USB #1' )
gamepad.on( 'leftX', function( d ){ console.log( "left x value", d ) } )
}
All device names are suffixed with a number in case there is more than one of the same device on a system.
Devices are organized by manufactured / product in the devices
directory. You can look at those files to see the names of signals to subscribe to.