LLKeyboardMacOSX Class Reference

#include <llkeyboardmacosx.h>

Inheritance diagram for LLKeyboardMacOSX:

Inheritance graph
Collaboration diagram for LLKeyboardMacOSX:

Collaboration graph
List of all members.

Public Member Functions

 LLKeyboardMacOSX ()
 ~LLKeyboardMacOSX ()
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 37 of file llkeyboardmacosx.h.

Constructor & Destructor Documentation

LLKeyboardMacOSX::LLKeyboardMacOSX (  ) 

LLKeyboardMacOSX::~LLKeyboardMacOSX (  )  [inline]

Definition at line 41 of file llkeyboardmacosx.h.

Member Function Documentation

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

Implements LLKeyboard.

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

Implements LLKeyboard.

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

Implements LLKeyboard.

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

void LLKeyboardMacOSX::resetMaskKeys (  )  [virtual]

Implements LLKeyboard.

void LLKeyboardMacOSX::scanKeyboard (  )  [virtual]

Implements LLKeyboard.

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

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

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

Member Data Documentation

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

Definition at line 56 of file llkeyboardmacosx.h.

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

Definition at line 55 of file llkeyboardmacosx.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