change is_char to use OS.is_keycode_unicode

This commit is contained in:
Teatov 2025-07-31 03:23:48 +10:00
parent f290b8744f
commit 4f8c52a906

View File

@ -42,7 +42,7 @@ var alt_shift_char: String
func is_char() -> bool:
return physical_keycode >= KEY_EXCLAM and physical_keycode <= KEY_SECTION
return OS.is_keycode_unicode(physical_keycode)
func from_dict(dict: Dictionary) -> KeyProps: