Main Page   Namespace List   Class Hierarchy   Alphabetical List   Compound List   File List   Namespace Members   Compound Members   File Members   Related Pages  

P_JoystickTool.h

Go to the documentation of this file.
00001 /***************************************************************************
00002  *cr                                                                       
00003  *cr            (C) Copyright 1995-2019 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_JoystickTool.h,v $
00013  *      $Author: johns $        $Locker:  $             $State: Exp $
00014  *      $Revision: 1.32 $       $Date: 2019/01/17 21:21:00 $
00015  *
00016  ***************************************************************************/
00017 
00019 
00023 #include "P_Tool.h"
00024 class JoystickTool : public Tool {
00025  public:
00026   JoystickTool(int id, VMDApp *, Displayable *);
00027   virtual void do_event();
00028   const float *position() const;
00029 
00030   const char *type_name() const { return "joystick"; }
00031  private:
00032   int constrained;
00033   float pos[3];
00034   float constraint[3];
00035 };
00036 

Generated on Thu Mar 28 02:43:56 2024 for VMD (current) by doxygen1.2.14 written by Dimitri van Heesch, © 1997-2002