InputEventKeyScancode Property |
The key scancode, which corresponds to one of the KeyList constants.
To get a human-readable representation of the InputEventKey, use OS.get_scancode_string(event.scancode) where event is the InputEventKey.
Namespace: Godot