#include "llkeyboard.h"
Include dependency graph for llviewerkeyboard.h:
This graph shows which files directly or indirectly include this file:
Go to the source code of this file.
Classes | |
class | LLNamedFunction |
class | LLViewerKeyboard |
Typedefs | |
typedef enum e_keyboard_mode | EKeyboardMode |
Enumerations | |
enum | e_keyboard_mode { MODE_FIRST_PERSON, MODE_THIRD_PERSON, MODE_EDIT, MODE_EDIT_AVATAR, MODE_SITTING, MODE_COUNT } |
Functions | |
void | agent_push_forward (EKeystate s) |
void | agent_turn_right (EKeystate s) |
void | bind_keyboard_functions () |
Variables | |
const S32 | MAX_NAMED_FUNCTIONS = 100 |
const S32 | MAX_KEY_BINDINGS = 128 |
LLViewerKeyboard | gViewerKeyboard |
Copyright (c) 2005-2007, Linden Research, Inc.
Second Life Viewer Source Code The source code in this file ("Source Code") is provided by Linden Lab to you under the terms of the GNU General Public License, version 2.0 ("GPL"), unless you have obtained a separate licensing agreement ("Other License"), formally executed by you and Linden Lab. Terms of the GPL can be found in doc/GPL-license.txt in this distribution, or online at http://secondlife.com/developers/opensource/gplv2
There are special exceptions to the terms and conditions of the GPL as it is applied to this Source Code. View the full text of the exception in the file doc/FLOSS-exception.txt in this software distribution, or online at http://secondlife.com/developers/opensource/flossexception
By copying, modifying or distributing this software, you acknowledge that you have read and understood your obligations described above, and agree to abide by those obligations.
ALL LINDEN LAB SOURCE CODE IS PROVIDED "AS IS." LINDEN LAB MAKES NO WARRANTIES, EXPRESS, IMPLIED OR OTHERWISE, REGARDING ITS ACCURACY, COMPLETENESS OR PERFORMANCE. $/LicenseInfo$
Definition in file llviewerkeyboard.h.
typedef enum e_keyboard_mode EKeyboardMode |
enum e_keyboard_mode |
Definition at line 47 of file llviewerkeyboard.h.
Definition at line 86 of file llviewerkeyboard.cpp.
References gAgent, LLKeyboard::getCurKeyElapsedFrameCount(), LLKeyboard::getCurKeyElapsedTime(), gKeyboard, KEYSTATE_UP, llround(), LLAgent::moveAt(), LLAgent::moveAtNudge(), NUDGE_FRAMES, NUDGE_TIME, and S32.
Referenced by bind_keyboard_functions(), and camera_move_forward_sitting().
Definition at line 167 of file llviewerkeyboard.cpp.
References agent_slide_right(), gAgent, LLKeyboard::getCurKeyElapsedTime(), LLFloaterMove::getYawRate(), gKeyboard, gToolCamera, KEYSTATE_UP, LLToolCamera::mouseSteerMode(), and LLAgent::moveYaw().
Referenced by bind_keyboard_functions(), and camera_spin_around_ccw_sitting().
void bind_keyboard_functions | ( | ) |
Definition at line 483 of file llviewerkeyboard.cpp.
References agent_jump(), agent_look_down(), agent_look_up(), agent_push_backward(), agent_push_down(), agent_push_forward(), agent_slide_left(), agent_slide_right(), agent_toggle_fly(), agent_turn_left(), agent_turn_right(), LLViewerKeyboard::bindNamedFunction(), camera_move_backward(), camera_move_backward_fast(), camera_move_backward_sitting(), camera_move_forward(), camera_move_forward_fast(), camera_move_forward_sitting(), camera_pan_down(), camera_pan_in(), camera_pan_left(), camera_pan_out(), camera_pan_right(), camera_pan_up(), camera_spin_around_ccw(), camera_spin_around_ccw_sitting(), camera_spin_around_cw(), camera_spin_around_cw_sitting(), camera_spin_over(), camera_spin_over_sitting(), camera_spin_under(), camera_spin_under_sitting(), edit_avatar_move_backward(), edit_avatar_move_forward(), edit_avatar_spin_ccw(), edit_avatar_spin_cw(), edit_avatar_spin_over(), edit_avatar_spin_under(), gViewerKeyboard, start_chat(), and stop_moving().
Referenced by main().
Definition at line 58 of file llviewerkeyboard.cpp.
Referenced by bind_keyboard_functions(), LLViewerKeyboard::handleKey(), LLViewerWindow::handleScanKey(), LLViewerWindow::handleTranslatedKeyDown(), LLViewerWindow::handleUnicodeChar(), and main().
const S32 MAX_KEY_BINDINGS = 128 |
const S32 MAX_NAMED_FUNCTIONS = 100 |
Definition at line 37 of file llviewerkeyboard.h.