#include <xrb_keymap.hpp>
Public Member Functions | |
virtual std::string | Name () const =0 |
virtual Key::Code | MappedKey (Key::Code code) const =0 |
Static Public Member Functions | |
static KeyMap const * | Create (std::string name) |
Creates a KeyMap implementation via name. |
This is really only necessary in windows, because the windows version of SDL does not handle alternate keyboard layouts correctly (it always uses standard QWERTY).
Definition at line 29 of file xrb_keymap.hpp.
KeyMap const * Xrb::KeyMap::Create | ( | std::string | name | ) | [static] |
Creates a KeyMap implementation via name.
Valid values:
"dvorak"
-- KeyMapDvorak Anything else will create KeyMapIdentity .
Definition at line 18 of file xrb_keymap.cpp.
References Xrb::Util::MakeLowercase().
Referenced by Xrb::Singleton::Initialize().