The KeyCode enumeration provides the following values:
Description |
Value |
---|---|
|
No key. |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Backspace. |
|
|
|
|
|
|
|
|
|
|
|
Special key values. |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Note that under macOS, to improve compatibility with other systems, ‘ |
|
Under macOS, where the ‘Command’ key is mapped to ‘Control’ to improve compatibility with other systems, |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
The following key codes are only generated under Windows currently. |
|
|
|
|
|
This special key code was used to represent the key used for keyboard shortcuts. |
|
Hardware-specific buttons. |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Since wxWidgets 3.1.0. |
|
Since wxWidgets 3.1.0. |
|
Since wxWidgets 3.1.0. |
|
Since wxWidgets 3.1.0. |
|
Since wxWidgets 3.1.0. |
|
Since wxWidgets 3.1.0. |
|
Since wxWidgets 3.1.0. |
|
Since wxWidgets 3.1.0. |
|
Since wxWidgets 3.1.0. |
|
Since wxWidgets 3.1.0. |
|
Since wxWidgets 3.1.0. |
|
Since wxWidgets 3.1.0. |
|
Since wxWidgets 3.1.0. |
|
Since wxWidgets 3.1.0. |
|
Since wxWidgets 3.1.0. |
|
First application launch key. |
|
Second application launch key. |
|
Available since wxWidgets 3.1.6 and only generated by wxGTK. |
|
Available since wxWidgets 3.1.6 and only generated by wxGTK. |
|
Available since wxWidgets 3.1.6 and only generated by wxGTK. |
|
Available since wxWidgets 3.1.6 and only generated by wxGTK. |
|
Available since wxWidgets 3.1.6 and only generated by wxGTK. |
|
Available since wxWidgets 3.1.6 and only generated by wxGTK. |
|
Available since wxWidgets 3.1.6 and only generated by wxGTK. |
|
Available since wxWidgets 3.1.6 and only generated by wxGTK. |
|
Available since wxWidgets 3.1.6 and only generated by wxGTK. |
|
Available since wxWidgets 3.1.6 and only generated by wxGTK. |
|
Available since wxWidgets 3.1.6, generated by wxGTK and wxMSW. |
|
Available since wxWidgets 3.1.6, generated by wxGTK and wxMSW. |
|
Available since wxWidgets 3.1.6 and only generated by wxGTK. |
|
Available since wxWidgets 3.1.6 and only generated by wxGTK. |
|
Available since wxWidgets 3.1.6 and only generated by wxGTK. |
|
Available since wxWidgets 3.1.6 and only generated by wxGTK. |