LLKeyboardSDL Class Reference

#include <llkeyboardsdl.h>

Inheritance diagram for LLKeyboardSDL:

Inheritance graph
Collaboration diagram for LLKeyboardSDL:

Collaboration graph
List of all members.

Public Member Functions

 LLKeyboardSDL ()
 ~LLKeyboardSDL ()
BOOL handleKeyUp (const U16 key, MASK mask)
BOOL handleKeyDown (const U16 key, MASK mask)
void resetMaskKeys ()
MASK currentMask (BOOL for_mouse_event)
void scanKeyboard ()

Protected Member Functions

MASK updateModifiers (const U32 mask)
void setModifierKeyLevel (KEY key, BOOL new_state)
BOOL translateNumpadKey (const U16 os_key, KEY *translated_key)
U16 inverseTranslateNumpadKey (const KEY translated_key)

Private Attributes

std::map< U16, KEYmTranslateNumpadMap
std::map< KEY, U16mInvTranslateNumpadMap

Detailed Description

Definition at line 38 of file llkeyboardsdl.h.

Constructor & Destructor Documentation

LLKeyboardSDL::LLKeyboardSDL (  ) 

LLKeyboardSDL::~LLKeyboardSDL (  )  [inline]

Definition at line 42 of file llkeyboardsdl.h.

Member Function Documentation

MASK LLKeyboardSDL::currentMask ( BOOL  for_mouse_event  )  [virtual]

Implements LLKeyboard.

BOOL LLKeyboardSDL::handleKeyDown ( const U16  key,
MASK  mask 
) [virtual]

Implements LLKeyboard.

BOOL LLKeyboardSDL::handleKeyUp ( const U16  key,
MASK  mask 
) [virtual]

Implements LLKeyboard.

U16 LLKeyboardSDL::inverseTranslateNumpadKey ( const KEY  translated_key  )  [protected]

void LLKeyboardSDL::resetMaskKeys (  )  [virtual]

Implements LLKeyboard.

void LLKeyboardSDL::scanKeyboard (  )  [virtual]

Implements LLKeyboard.

void LLKeyboardSDL::setModifierKeyLevel ( KEY  key,
BOOL  new_state 
) [protected]

BOOL LLKeyboardSDL::translateNumpadKey ( const U16  os_key,
KEY translated_key 
) [protected]

MASK LLKeyboardSDL::updateModifiers ( const U32  mask  )  [protected]

Member Data Documentation

std::map<KEY, U16> LLKeyboardSDL::mInvTranslateNumpadMap [private]

Definition at line 57 of file llkeyboardsdl.h.

std::map<U16, KEY> LLKeyboardSDL::mTranslateNumpadMap [private]

Definition at line 56 of file llkeyboardsdl.h.

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