#include <P_JoystickTool.h>
Inheritance diagram for JoystickTool:
List of all members.
This is a tool which creates the 3d analog of a joystick - pressing the button puts this tool into a relative mode, so it is kind of like flying a plane. Force-feedback compatible.
Definition at line 24 of file P_JoystickTool.h.
Definition at line 25 of file P_JoystickTool.C.
[virtual]
Subclasses should override this method to perform tool-specific actions every display loop.
Reimplemented from Tool.
Definition at line 30 of file P_JoystickTool.C.
References Tool::dimension, Tool::forceoff, Tool::isgrabbing, Tool::let_go, Tool::position, Tool::sendforce, Tool::setconstraint, Tool::target, and TARGET_GRAB.
[virtual]
return the position of this tool.
Reimplemented from Tool.
Definition at line 61 of file P_JoystickTool.C.
References Tool::position.
[inline, virtual]
return the name of this tool. Must be unique to all Tool subclasses!
Implements Tool.
Definition at line 30 of file P_JoystickTool.h.