#include <Joystick.h>
Inheritance diagram for JoystickCursorProcess:
Public Member Functions | |
JoystickCursorProcess () | |
JoystickCursorProcess (Joystick js_, int x_axis_, int y_axis_) | |
virtual | ~JoystickCursorProcess () |
ENABLE_RUNTIME_CLASSTYPE () | |
virtual bool | run (const uint32 framenum) |
bool | loadData (IDataSource *ids, uint32 version) |
Protected Member Functions | |
virtual void | saveData (ODataSource *ods) |
Protected Attributes | |
Joystick | js |
int | x_axis |
int | y_axis |
int | ticks |
int | accel |
Definition at line 37 of file Joystick.h.
JoystickCursorProcess::JoystickCursorProcess | ( | ) |
Definition at line 84 of file Joystick.cpp.
JoystickCursorProcess::JoystickCursorProcess | ( | Joystick | js_, | |
int | x_axis_, | |||
int | y_axis_ | |||
) |
Definition at line 89 of file Joystick.cpp.
References Process::flags, joy, JOY_LAST, js, perr, Process::PROC_RUNPAUSED, Process::terminate(), Process::type, x_axis, and y_axis.
JoystickCursorProcess::~JoystickCursorProcess | ( | ) | [virtual] |
Definition at line 111 of file Joystick.cpp.
JoystickCursorProcess::ENABLE_RUNTIME_CLASSTYPE | ( | ) |
Reimplemented from Process.
bool JoystickCursorProcess::loadData | ( | IDataSource * | ids, | |
uint32 | version | |||
) |
load Process data
Reimplemented from Process.
Definition at line 157 of file Joystick.cpp.
References Process::loadData(), and Process::terminateDeferred().
bool JoystickCursorProcess::run | ( | const uint32 | framenum | ) | [virtual] |
CONSTANTS - and a lot of guess work.
Implements Process.
Definition at line 118 of file Joystick.cpp.
References accel, GUIApp::get_instance(), GUIApp::getMouseCoords(), joy, js, GUIApp::setMouseCoords(), ticks, x_axis, and y_axis.
void JoystickCursorProcess::saveData | ( | ODataSource * | ods | ) | [protected, virtual] |
save the Process data
Reimplemented from Process.
Definition at line 165 of file Joystick.cpp.
References Process::saveData().
int JoystickCursorProcess::accel [protected] |
Joystick JoystickCursorProcess::js [protected] |
int JoystickCursorProcess::ticks [protected] |
int JoystickCursorProcess::x_axis [protected] |
int JoystickCursorProcess::y_axis [protected] |