MCPcopy Create free account
hub / github.com/ClassicOldSong/Apollo / map_keycode

Function map_keycode

src/input.cpp:619–626  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

617 }
618
619 short map_keycode(short keycode) {
620 auto it = config::input.keybindings.find(keycode);
621 if (it != std::end(config::input.keybindings)) {
622 return it->second;
623 }
624
625 return keycode;
626 }
627
628 /**
629 * @brief Update flags for keyboard shortcut combo's

Callers 2

send_key_and_modifiersFunction · 0.85
passthroughFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected