MCPcopy Create free account
hub / github.com/MyGUI/mygui / buildVKeyMap

Method buildVKeyMap

Common/Input/SDL/InputManager.cpp:156–161  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

154 {SDLK_APPLICATION, MyGUI::KeyCode::AppMenu}};
155
156 void InputManager::buildVKeyMap()
157 {
158 mSDLVKeyMap.clear();
159 for (const auto& mapItem : mapItems)
160 mSDLVKeyMap.insert(std::pair<int, MyGUI::KeyCode>(mapItem.sdlKey, mapItem.myguiKey));
161 }
162
163 void InputManager::buildMouseButtonMap()
164 {

Callers

nothing calls this directly

Calls 2

clearMethod · 0.45
insertMethod · 0.45

Tested by

no test coverage detected