LuciadCPillar C# 2023.1.04
|
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] |
static KeyCode | Asterisk = new KeyCode(42) [get] |
static KeyCode | B = new KeyCode(66) [get] |
static KeyCode | Backspace = new KeyCode(8) [get] |
static KeyCode | C = new KeyCode(67) [get] |
static KeyCode | D = new KeyCode(68) [get] |
static KeyCode | Down = new KeyCode(205) [get] |
static KeyCode | E = new KeyCode(69) [get] |
static KeyCode | Eight = new KeyCode(56) [get] |
static KeyCode | End = new KeyCode(201) [get] |
static KeyCode | Escape = new KeyCode(27) [get] |
static KeyCode | F = new KeyCode(70) [get] |
static KeyCode | Five = new KeyCode(53) [get] |
static KeyCode | Four = new KeyCode(52) [get] |
static KeyCode | G = new KeyCode(71) [get] |
static KeyCode | H = new KeyCode(72) [get] |
static KeyCode | Home = new KeyCode(200) [get] |
static KeyCode | I = new KeyCode(73) [get] |
uint | Index [get] |
static KeyCode | J = new KeyCode(74) [get] |
static KeyCode | K = new KeyCode(75) [get] |
static KeyCode | L = new KeyCode(76) [get] |
static KeyCode | Left = new KeyCode(202) [get] |
static KeyCode | M = new KeyCode(77) [get] |
static KeyCode | Minus = new KeyCode(45) [get] |
static KeyCode | N = new KeyCode(78) [get] |
static KeyCode | Nine = new KeyCode(57) [get] |
static KeyCode | O = new KeyCode(79) [get] |
static KeyCode | One = new KeyCode(49) [get] |
static KeyCode | P = new KeyCode(80) [get] |
static KeyCode | PageDown = new KeyCode(207) [get] |
static KeyCode | PageUp = new KeyCode(206) [get] |
static KeyCode | Plus = new KeyCode(43) [get] |
static KeyCode | Q = new KeyCode(81) [get] |
static KeyCode | R = new KeyCode(82) [get] |
static KeyCode | Right = new KeyCode(204) [get] |
static KeyCode | S = new KeyCode(83) [get] |
static KeyCode | Seven = new KeyCode(55) [get] |
static KeyCode | Six = new KeyCode(54) [get] |
static KeyCode | Slash = new KeyCode(47) [get] |
static KeyCode | Space = new KeyCode(32) [get] |
static KeyCode | T = new KeyCode(84) [get] |
static KeyCode | Three = new KeyCode(51) [get] |
static KeyCode | Two = new KeyCode(50) [get] |
static KeyCode | U = new KeyCode(85) [get] |
static KeyCode | Unknown = new KeyCode(0) [get] |
static KeyCode | Up = new KeyCode(203) [get] |
static KeyCode | V = new KeyCode(86) [get] |
static KeyCode | W = new KeyCode(87) [get] |
static KeyCode | X = new KeyCode(88) [get] |
static KeyCode | Y = new KeyCode(89) [get] |
static KeyCode | Z = new KeyCode(90) [get] |
static KeyCode | Zero = new KeyCode(48) [get] |
Represents a key in the controller API.
luciad::KeyCode::KeyCode for the key mapping.
luciad::ModifierKeys for the available modifiers to use in conjunction with this class.
2020.1
|
inline |
Creates a new KeyCode with the given index.
The key button index maps on to keys as follows: 0 => Unknown 8 => Backspace 27 => Escape 32 => Space 42 => Asterisk 43 => Plus 45 => Minus 47 => Slash 48 => 0 49 => 1 ... 57 => 9 65 => A 66 => B ... 90 => Z 200 => Home 201 => End 202 => Left 203 => Up 204 => Right 205 => Down 206 => Page-Up 207 => Page-Down
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 |
|
get |