This directory contains the code for a DIVERSE ToolKit service for a FakeSpace vwand. vwand


To install:

  1. copy Makefile and vwand.cpp to the directory of your choice and cd to that directory
  2. be sure the dtk-config command is in your path
  3. edit vwand.cpp and set DEVICE_FILE to the correct terminal file.  You might also want to modify MAX_XY_OFFSET if your wand is not generating scaled data between -1 and 1, and TRACKD_COMPATABLE if you are using dtk-getTrackd to supply trackd-compatible data.
  4. type: make
  5. if you have permision, you can install it with the other DTK services by typing: make install
To run:
  1. Start a DTK server if one is not already running
  2. Load the service into the server by typing: dtk-loadService vwand
  3. Test the vwand's joystick output by typing: dtk-readFloats joystick
  4. Test the vwand's button output by typing: dtk-readButtons buttons
Author: John Kelso, kelso@nist.gov, 2/22/04