00001 /*************************************************************************** 00002 *cr 00003 *cr (C) Copyright 1995-2008 The Board of Trustees of the 00004 *cr University of Illinois 00005 *cr All Rights Reserved 00006 *cr 00007 ***************************************************************************/ 00008 00009 /*************************************************************************** 00010 * RCS INFORMATION: 00011 * 00012 * $RCSfile: P_FreeVRButtons.h,v $ 00013 * $Author: johns $ $Locker: $ $State: Exp $ 00014 * $Revision: 1.13 $ $Date: 2008/03/27 19:36:43 $ 00015 * 00016 *************************************************************************** 00017 * DESCRIPTION: 00018 * This is Paul's new Tracker code -- pgrayson@ks.uiuc.edu 00019 * 00020 * This is a Buttons that gets its info from the FreeVR wand. 00021 ***************************************************************************/ 00022 00023 #include "P_Buttons.h" 00024 00026 class FreeVRButtons : public Buttons { 00027 public: 00028 FreeVRButtons() {} 00029 virtual const char *device_name() const { return "freevrbuttons"; } 00030 virtual Buttons *clone() { return new FreeVRButtons; } 00031 virtual void update(); 00032 inline virtual int alive() { return 1; } 00033 00034 protected: 00036 virtual int do_start(const SensorConfig *); 00037 }; 00038
1.2.14 written by Dimitri van Heesch,
© 1997-2002