#include <Win32Joystick.h>
Inheritance diagram for Win32Joystick:
Public Types | |
enum | MoveMode { OFF, ROTATION, TRANSLATION, SCALING, USER } |
different available movement modes. More... | |
Public Methods | |
Win32Joystick (VMDApp *) | |
virtual | ~Win32Joystick (void) |
virtual void | reset (void) |
reset the user interface (force update of all info displays). More... | |
virtual int | act_on_command (int, Command *) |
update the display due to a command being executed. Return whether any action was taken on this command. Arguments are the command type, command object, and the success of the command (T or F). More... | |
virtual int | check_event (void) |
check for event, queue if found, return TRUE if an event was generated. More... |
Definition at line 49 of file Win32Joystick.h.
|
different available movement modes.
Definition at line 52 of file Win32Joystick.h. |
|
Definition at line 31 of file Win32Joystick.C. References vmdwinjoystick::caps, vmdwinjoystick::exists, vmdwinjoystick::moveMode, NULL, OFF, reset, vmdwinjoystick::xrange, vmdwinjoystick::yrange, and vmdwinjoystick::zrange. |
|
Definition at line 87 of file Win32Joystick.C. References NULL. |
|
update the display due to a command being executed. Return whether any action was taken on this command. Arguments are the command type, command object, and the success of the command (T or F).
Reimplemented from UIObject. Definition at line 103 of file Win32Joystick.C. |
|
check for event, queue if found, return TRUE if an event was generated.
Reimplemented from UIObject. Definition at line 119 of file Win32Joystick.C. References UIObject::app, DisplayDevice::AUX, vmdwinjoystick::avail, vmdwinjoystick::buttonchanged, vmdwinjoystick::buttons, vmdwinjoystick::caps, DisplayDevice::EventCodes, vmdwinjoystick::exists, vmdwinjoystick::info, vmdwinjoystick::moveMode, NULL, nullregion, OFF, ROTATION, UIObject::runcommand, SCALING, VMDApp::scene_resetview, VMDApp::scene_rotate_by, VMDApp::scene_scale_by, VMDApp::scene_translate_by, TRANSLATION, vmdwinjoystick::vx, vmdwinjoystick::vy, vmdwinjoystick::vz, DisplayDevice::WIN_KBD, vmdwinjoystick::xrange, vmdwinjoystick::yrange, and vmdwinjoystick::zrange. |
|
reset the user interface (force update of all info displays).
Reimplemented from UIObject. Definition at line 95 of file Win32Joystick.C. Referenced by Win32Joystick. |