Pyro higlevel API
|
Public Member Functions | |
Keymap (const os::String &cKeymap="") | |
Default Constructor... More... | |
virtual | ~Keymap () |
int32_t | Find (char zFind) |
Finds a character in the keymap based on the normal key set. More... | |
std::vector< std::pair < int32_t, int32_t > > | FindAllOccurances (char zFind) |
Finds all occurances of the character in all of the keymap. More... | |
std::vector< int32_t > | GetKeys () |
Returns an std::vector of ints corresponding to the normal keys in the keymap. More... | |
keymap * | GetKeymapData () const |
Static Public Member Functions | |
static os::String | GetKeymapDirectory () |
Get the keymap directory. More... | |
static std::vector< os::String > | GetKeymapNames () |
Gets all keymap names that the appserver can currently use. More... | |
Keymap::Keymap | ( | const os::String & | cKeymap = "" | ) |
cKeymap | - an os::String that contains the actual keymap you want to look at. If you just create an instance with Keymap() the class will use the current keymap loaded by the appserver |
|
virtual |
int32_t Keymap::Find | ( | char | zFind | ) |
std::vector< std::pair< int32_t, int32_t > > Keymap::FindAllOccurances | ( | char | zFind | ) |
keymap * Keymap::GetKeymapData | ( | ) | const |
|
static |
Referenced by GetKeymapNames(), and os::Application::SetKeymap().
|
static |
References GetKeymapDirectory(), and os::Directory::GetNextEntry().
std::vector< int32_t > Keymap::GetKeys | ( | ) |