|
LuciadCPillar C# 2025.0.09
|
Represents a key in the controller API. More...
Public Member Functions | |
| KeyCode (uint index) | |
Creates a new KeyCode with the given index. More... | |
| bool | Equals (KeyCode other) |
| override bool | Equals (object other) |
| override int | GetHashCode () |
Static Public Member Functions | |
| static bool | operator!= (KeyCode lhs, KeyCode rhs) |
| static bool | operator== (KeyCode lhs, KeyCode rhs) |
Properties | |
| static KeyCode | A = new KeyCode(65) [get] |
| A key code representing the 'A' key. More... | |
| static KeyCode | Asterisk = new KeyCode(42) [get] |
| A key code representing the '*' key. More... | |
| static KeyCode | B = new KeyCode(66) [get] |
| A key code representing the 'B' key. More... | |
| static KeyCode | Backspace = new KeyCode(8) [get] |
| A key code representing the backspace key. More... | |
| static KeyCode | C = new KeyCode(67) [get] |
| A key code representing the 'C' key. More... | |
| static KeyCode | D = new KeyCode(68) [get] |
| A key code representing the 'D' key. More... | |
| static KeyCode | Del = new KeyCode(127) [get] |
| A key code representing the delete key. More... | |
| static KeyCode | Down = new KeyCode(205) [get] |
| A key code representing the down key. More... | |
| static KeyCode | E = new KeyCode(69) [get] |
| A key code representing the 'E' key. More... | |
| static KeyCode | Eight = new KeyCode(56) [get] |
| A key code representing the '8' key. More... | |
| static KeyCode | End = new KeyCode(201) [get] |
| A key code representing the end key. More... | |
| static KeyCode | Enter = new KeyCode(10) [get] |
| A key code representing the enter key. More... | |
| static KeyCode | Escape = new KeyCode(27) [get] |
| A key code representing the escape key. More... | |
| static KeyCode | F = new KeyCode(70) [get] |
| A key code representing the 'F' key. More... | |
| static KeyCode | F1 = new KeyCode(112) [get] |
| A key code representing the F1 key. More... | |
| static KeyCode | F10 = new KeyCode(121) [get] |
| A key code representing the F10 key. More... | |
| static KeyCode | F11 = new KeyCode(122) [get] |
| A key code representing the F11 key. More... | |
| static KeyCode | F12 = new KeyCode(123) [get] |
| A key code representing the F12 key. More... | |
| static KeyCode | F2 = new KeyCode(113) [get] |
| A key code representing the F2 key. More... | |
| static KeyCode | F3 = new KeyCode(114) [get] |
| A key code representing the F3 key. More... | |
| static KeyCode | F4 = new KeyCode(115) [get] |
| A key code representing the F4 key. More... | |
| static KeyCode | F5 = new KeyCode(116) [get] |
| A key code representing the F5 key. More... | |
| static KeyCode | F6 = new KeyCode(117) [get] |
| A key code representing the F6 key. More... | |
| static KeyCode | F7 = new KeyCode(118) [get] |
| A key code representing the F7 key. More... | |
| static KeyCode | F8 = new KeyCode(119) [get] |
| A key code representing the F8 key. More... | |
| static KeyCode | F9 = new KeyCode(120) [get] |
| A key code representing the F9 key. More... | |
| static KeyCode | Five = new KeyCode(53) [get] |
| A key code representing the '5' key. More... | |
| static KeyCode | Four = new KeyCode(52) [get] |
| A key code representing the '4' key. More... | |
| static KeyCode | G = new KeyCode(71) [get] |
| A key code representing the 'G' key. More... | |
| static KeyCode | H = new KeyCode(72) [get] |
| A key code representing the 'H' key. More... | |
| static KeyCode | Home = new KeyCode(200) [get] |
| A key code representing the home key. More... | |
| static KeyCode | I = new KeyCode(73) [get] |
| A key code representing the 'I' key. More... | |
| uint | Index [get] |
| The index of the key code. More... | |
| static KeyCode | Insert = new KeyCode(155) [get] |
| A key code representing the insert key. More... | |
| static KeyCode | J = new KeyCode(74) [get] |
| A key code representing the 'J' key. More... | |
| static KeyCode | K = new KeyCode(75) [get] |
| A key code representing the 'K' key. More... | |
| static KeyCode | L = new KeyCode(76) [get] |
| A key code representing the 'L' key. More... | |
| static KeyCode | Left = new KeyCode(202) [get] |
| A key code representing the left key. More... | |
| static KeyCode | M = new KeyCode(77) [get] |
| A key code representing the 'M' key. More... | |
| static KeyCode | Minus = new KeyCode(45) [get] |
| A key code representing the '-' key. More... | |
| static KeyCode | N = new KeyCode(78) [get] |
| A key code representing the 'N' key. More... | |
| static KeyCode | Nine = new KeyCode(57) [get] |
| A key code representing the '9' key. More... | |
| static KeyCode | O = new KeyCode(79) [get] |
| A key code representing the 'O' key. More... | |
| static KeyCode | One = new KeyCode(49) [get] |
| A key code representing the '1' key. More... | |
| static KeyCode | P = new KeyCode(80) [get] |
| A key code representing the 'P' key. More... | |
| static KeyCode | PageDown = new KeyCode(207) [get] |
| A key code representing the page down key. More... | |
| static KeyCode | PageUp = new KeyCode(206) [get] |
| A key code representing the pacge up key. More... | |
| static KeyCode | Plus = new KeyCode(43) [get] |
| A key code representing the '+' key. More... | |
| static KeyCode | Q = new KeyCode(81) [get] |
| A key code representing the 'Q' key. More... | |
| static KeyCode | R = new KeyCode(82) [get] |
| A key code representing the 'R' key. More... | |
| static KeyCode | Right = new KeyCode(204) [get] |
| A key code representing the right key. More... | |
| static KeyCode | S = new KeyCode(83) [get] |
| A key code representing the 'S' key. More... | |
| static KeyCode | Seven = new KeyCode(55) [get] |
| A key code representing the '7' key. More... | |
| static KeyCode | Six = new KeyCode(54) [get] |
| A key code representing the '6' key. More... | |
| static KeyCode | Slash = new KeyCode(47) [get] |
| A key code representing the '/' key. More... | |
| static KeyCode | Space = new KeyCode(32) [get] |
| A key code representing the space key. More... | |
| static KeyCode | T = new KeyCode(84) [get] |
| A key code representing the 'T' key. More... | |
| static KeyCode | Tab = new KeyCode(9) [get] |
| A key code representing the tab key. More... | |
| static KeyCode | Three = new KeyCode(51) [get] |
| A key code representing the '3' key. More... | |
| static KeyCode | Two = new KeyCode(50) [get] |
| A key code representing the '2' key. More... | |
| static KeyCode | U = new KeyCode(85) [get] |
| A key code representing the 'U' key. More... | |
| static KeyCode | Unknown = new KeyCode(0) [get] |
| A key code representing an unknown key. More... | |
| static KeyCode | Up = new KeyCode(203) [get] |
| A key code representing the up key. More... | |
| static KeyCode | V = new KeyCode(86) [get] |
| A key code representing the 'V' key. More... | |
| static KeyCode | W = new KeyCode(87) [get] |
| A key code representing the 'W' key. More... | |
| static KeyCode | X = new KeyCode(88) [get] |
| A key code representing the 'X' key. More... | |
| static KeyCode | Y = new KeyCode(89) [get] |
| A key code representing the 'Y' key. More... | |
| static KeyCode | Z = new KeyCode(90) [get] |
| A key code representing the 'Z' key. More... | |
| static KeyCode | Zero = new KeyCode(48) [get] |
| A key code representing the '0' key. More... | |
Represents a key in the controller API.
KeyCode.KeyCode for the key mapping. ModifierKeys for the available modifiers to use in conjunction with this class.
|
inline |
Creates a new KeyCode with the given index.
The key button index maps on to keys as follows:
If needed other indexes can be used if out of those values. For example if you want to handle unicode characters. Please use index values greater than 1024 for custom key codes.
| index | the mouse button index. |
|
inline |
|
inline |
|
inline |
A key code representing the '*' key.
A key code representing the backspace key.
A key code representing the delete key.
A key code representing the down key.
A key code representing the enter key.
A key code representing the escape key.
A key code representing the F1 key.
A key code representing the F10 key.
A key code representing the F11 key.
A key code representing the F12 key.
A key code representing the F2 key.
A key code representing the F3 key.
A key code representing the F4 key.
A key code representing the F5 key.
A key code representing the F6 key.
A key code representing the F7 key.
A key code representing the F8 key.
A key code representing the F9 key.
A key code representing the home key.
|
get |
The index of the key code.
The index of the key code.
A key code representing the insert key.
A key code representing the left key.
A key code representing the page down key.
A key code representing the pacge up key.
A key code representing the right key.
A key code representing the space key.
A key code representing the tab key.
A key code representing an unknown key.