Enum GlKeys
- Namespace
- Vintagestory.API.Client
- Assembly
- VintagestoryAPI.dll
Internally the game uses OpenTK and their Keys are by default mapped to US QWERTY Keyboard layout which the GlKeys also do. Upon typing text in a Text input field it will produce the correct characters according to your keyboard layout.
If you need to get the character for the current Keyboard layout use GetKeyName(GlKeys) Open in GitHub
public enum GlKeys
- Extension Methods
Fields
A = 83AltLeft = 5AltRight = 6B = 84Back = 53BackSlash = 129BackSpace = 53BracketLeft = 122BracketRight = 123C = 85CapsLock = 60Clear = 65Comma = 126ControlLeft = 3ControlRight = 4D = 86Delete = 55Down = 46E = 87End = 59Enter = 49Escape = 50F = 88F1 = 10F10 = 19F11 = 20F12 = 21F13 = 22F14 = 23F15 = 24F16 = 25F17 = 26F18 = 27F19 = 28F2 = 11F20 = 29F21 = 30F22 = 31F23 = 32F24 = 33F25 = 34F26 = 35F27 = 36F28 = 37F29 = 38F3 = 12F30 = 39F31 = 40F32 = 41F33 = 42F34 = 43F35 = 44F4 = 13F5 = 14F6 = 15F7 = 16F8 = 17F9 = 18G = 89H = 90Home = 58I = 91Insert = 54J = 92K = 93Keypad0 = 67Keypad1 = 68Keypad2 = 69Keypad3 = 70Keypad4 = 71Keypad5 = 72Keypad6 = 73Keypad7 = 74Keypad8 = 75Keypad9 = 76KeypadAdd = 80KeypadDecimal = 81KeypadDivide = 77KeypadEnter = 82KeypadMinus = 79KeypadMultiply = 78KeypadPlus = 80KeypadSubtract = 79L = 94LAlt = 5LBracket = 122LControl = 3LShift = 1LWin = 7LastKey = 130Left = 47M = 95Menu = 9Minus = 120N = 96NumLock = 64Number0 = 109Number1 = 110Number2 = 111Number3 = 112Number4 = 113Number5 = 114Number6 = 115Number7 = 116Number8 = 117Number9 = 118O = 97P = 98PageDown = 57PageUp = 56Pause = 63Period = 127Plus = 121PrintScreen = 62Q = 99Quote = 125R = 100RAlt = 6RBracket = 123RControl = 4RShift = 2RWin = 8Right = 48S = 101ScrollLock = 61Semicolon = 124ShiftLeft = 1ShiftRight = 2Slash = 128Sleep = 66Space = 51T = 102Tab = 52Tilde = 119U = 103Unknown = 0Up = 45V = 104W = 105WinLeft = 7WinRight = 8X = 106Y = 107Z = 108