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

Function fix_unicode

core/os/keyboard.cpp:484–489  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

482}
483
484char32_t fix_unicode(char32_t p_char) {
485 if (p_char >= 0x20 && p_char != 0x7F) {
486 return p_char;
487 }
488 return 0;
489}
490
491Key fix_keycode(char32_t p_char, Key p_key) {
492 if (p_char >= 0x20 && p_char <= 0x7E) {

Callers 5

_process_key_eventsMethod · 0.85
_handle_key_eventMethod · 0.85
process_key_eventMethod · 0.85
_key_callbackMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected