KeyCode
ceramic.KeyCode (Abstract)
Keyboard key codes representing the character/symbol associated with a key.
KeyCode values represent the actual character or symbol that would be generated by pressing a key, taking into account the current keyboard layout and modifiers. This is different from ScanCode which represents the physical key position.
For example, pressing the 'A' key will always generate KeyCode.KEY_A (97), but the physical scan code may vary based on keyboard layout.
Key codes are layout-dependent and represent the "virtual" key value. For physical key positions, use ScanCode instead.
Type Conversions
From:
[Int](/api-docs/clay-native/Int/)
To:
[Int](/api-docs/clay-native/Int/)
Metadata
Name | Parameters |
---|---|
:enum |
- |