MCPcopy Create free account
hub / github.com/clementgallet/libTAS / default_hotkeys

Method default_hotkeys

src/program/KeyMapping.cpp:237–245  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

235}
236
237void KeyMapping::default_hotkeys()
238{
239 hotkey_mapping.clear();
240 for (auto iter : hotkey_list) {
241 if (iter.default_input.type == SingleInput::IT_KEYBOARD) {
242 hotkey_mapping[iter.default_input.which] = iter;
243 }
244 }
245}
246
247void KeyMapping::default_hotkey(int hotkey_index)
248{

Callers 1

loadMethod · 0.80

Calls 1

clearMethod · 0.45

Tested by

no test coverage detected