|
Darc Library
2012.11
|
Interface class for scan code translation. More...
#include <cr_keyboard.h>
Public Member Functions | |
| IKeyGroupTable () | |
| virtual std::map< Byte, UInt > * | GetScanToBase ()=0 |
| virtual std::map< UInt, KeyGroup > * | GetBaseToKeyGroup ()=0 |
| Returns a DC_KeyGroupContainer object for a specific keyboard layout. | |
| wstring | GetPrintableCharacter (Byte _key, const IKeyboardScanner *_pScanner) const |
Protected Member Functions | |
| void | Setup () |
| This function populates m_pKeyGroup and should be called in the derived classes' constructor. | |
Protected Attributes | |
| KeyGroup | m_pKeyGroup [256] |
Interface class for scan code translation.
| darc::core::IKeyGroupTable::IKeyGroupTable | ( | ) | [inline] |
| virtual std::map<UInt, KeyGroup>* darc::core::IKeyGroupTable::GetBaseToKeyGroup | ( | ) | [pure virtual] |
Returns a DC_KeyGroupContainer object for a specific keyboard layout.
Implemented in darc::protox::KeyGroupTable_DIK_GE.
| wstring darc::core::IKeyGroupTable::GetPrintableCharacter | ( | Byte | _key, |
| const IKeyboardScanner * | _pScanner | ||
| ) | const [inline] |
| virtual std::map<Byte, UInt>* darc::core::IKeyGroupTable::GetScanToBase | ( | ) | [pure virtual] |
Implemented in darc::protox::KeyGroupTable_DIK_GE.
| void darc::core::IKeyGroupTable::Setup | ( | ) | [protected] |
This function populates m_pKeyGroup and should be called in the derived classes' constructor.
KeyGroup darc::core::IKeyGroupTable::m_pKeyGroup[256] [protected] |