#include <llviewerjoystick.h>
Static Public Member Functions | |
static void | scanJoystick () |
static void | updateCamera (BOOL reset=FALSE) |
Static Public Attributes | |
static BOOL | sOverrideCamera = FALSE |
Definition at line 35 of file llviewerjoystick.h.
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().
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().
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().