1.0.2 • Published 8 years ago

interface.server.spacenavigator v1.0.2

Weekly downloads
1
License
MIT
Repository
github
Last release
8 years ago

#interface.server.gamepad

This module links SpaceNavigators connected to OS X computers to Interface.Server. It is a thin wrapper around the spacemouse module.

Installation

From the Interface.Server folder, run npm install interface.server.gamepad

After installing, make sure to add the spacenavigator field to the IO list in the main Interface.Server config.js file. You can define a rate property here in Hz to control the speed of message output.

Example config.js

module.exports = {
    pathToApplications: __dirname + '/applications',

    transports: {
      osc : {
        remoteControlPort: 12000,
      },
    },

    IO : {
      spacenavigator : { rate: 1/30 } // 30 Hz update rate, 60 is default
    }
}