API Docs for: 2.0.0

Class OmicronManager

Class defined in: src/node-omicron.js:35

Omicron setup and opens a listener socket for an Omicron input server to connect to

OmicronManager( sysConfig )
src/node-omicron.js:35
Parameters:
  • sysConfig <Object>

    SAGE2 system configuration file. Primararly used to grab display dimensions and Omicron settings

connect( )
src/node-omicron.js:257

Initalizes connection with Omicron input servr

disconnect( )
src/node-omicron.js:291

Sends disconnect signal to input server

linkDrawingManager( )
src/node-omicron.js:305

Links the drawing manager to the omicron server

processPointerEvent( e, sourceID, posX, posY, msg, offset, emit, dstart )
src/node-omicron.js:779

Manages pointer (serviceType = 0) type events

Parameters:
  • e <Event>

    Omicron event

  • sourceID <Integer>

    Pointer ID

  • posX <Float>

    Pointer x position in screen coordinates

  • posY <Float>

    Pointer y position in screen coordinates

  • msg <Binary>

    Binary message. Used to get extraData values

  • offset <Integer>

    Current offset position of msg

  • emit <Object>
  • dstart <Object>
runTracker( )
src/node-omicron.js:367

Manages incoming input server data

setCallbacks( )
src/node-omicron.js:315

Receives server pointer functions