MCPcopy Create free account
hub / github.com/Redot-Engine/redot-engine / fix_keycode

Function fix_keycode

core/os/keyboard.cpp:491–496  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

489}
490
491Key fix_keycode(char32_t p_char, Key p_key) {
492 if (p_char >= 0x20 && p_char <= 0x7E) {
493 return (Key)String::char_uppercase(p_char);
494 }
495 return p_key;
496}
497
498Key fix_key_label(char32_t p_char, Key p_key) {
499 if (p_char >= 0x20 && p_char != 0x7F) {

Callers 4

_set_eventMethod · 0.85
_process_key_eventsMethod · 0.85
process_key_eventMethod · 0.85
_key_callbackMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected