LLViewerJoystick Class Reference

#include <llviewerjoystick.h>

List of all members.

Static Public Member Functions

static void scanJoystick ()
static void updateCamera (BOOL reset=FALSE)

Static Public Attributes

static BOOL sOverrideCamera = FALSE


Detailed Description

Definition at line 35 of file llviewerjoystick.h.


Member Function Documentation

void LLViewerJoystick::scanJoystick (  )  [static]

Definition at line 179 of file llviewerjoystick.cpp.

References f, LLWindow::getJoystickAxis(), LLWindow::getJoystickButton(), LLViewerWindow::getWindow(), gKeyboard, gViewerWindow, LLKeyboard::handleTranslatedKeyDown(), LLKeyboard::handleTranslatedKeyUp(), i, KEY_BUTTON1, KEY_PAD_DOWN, KEY_PAD_LEFT, KEY_PAD_RIGHT, KEY_PAD_UP, and sOverrideCamera.

Referenced by main_loop().

void LLViewerJoystick::updateCamera ( BOOL  reset = FALSE  )  [static]

Definition at line 46 of file llviewerjoystick.cpp.

References f, gCamera, LLControlGroup::getBOOL(), LLControlGroup::getF32(), LLWindow::getJoystickAxis(), LLCoordFrame::getOrigin(), LLCoordFrame::getQuaternion(), LLControlGroup::getS32(), LLCamera::getView(), LLViewerWindow::getWindow(), gFrameIntervalSeconds, gSavedSettings, gViewerWindow, i, level, llmax(), llmin(), LLMatrix3::mMatrix, LLCoordFrame::mXAxis, LLCoordFrame::mYAxis, LLCoordFrame::mZAxis, nlerp(), S32, LLCoordFrame::setOrigin(), LLCamera::setView(), sFlycamPosition, sFlycamRotation, sFlycamZoom, x, y, and z.

Referenced by handle_toggle_flycam(), LLJoystickListener::handleEvent(), and idle().


Member Data Documentation

BOOL LLViewerJoystick::sOverrideCamera = FALSE [static]

Definition at line 38 of file llviewerjoystick.h.

Referenced by LLPipeline::calcNearbyLights(), check_flycam(), handle_toggle_flycam(), idle(), reset_view_final(), and scanJoystick().


The documentation for this class was generated from the following files:
Generated on Thu Jul 1 06:11:58 2010 for Second Life Viewer by  doxygen 1.4.7