SimpleKey
[ Interface ]
interface SimpleKey {
code: string;
key: string;
unmodifiedKey: string;
location: 'standard' | 'left' | 'right' | 'numpad';
}Properties
Name | Type | Description |
|---|---|---|
code | Special character string for each physical key on the keyboard (does not have to match the corresponding character). | |
key | Value of the button pressed. | |
unmodifiedKey | Value of the unmodified button. | |
location | 'standard', 'left', 'right', 'numpad' | Position of the pressed button. |
![]() | Available from 1.8 |
