Tesseract-Engine/assets/scripts/keycode.lua
2025-01-03 14:28:20 -06:00

127 lines
4.1 KiB
Lua

local _Engine_KeyCodes = _T_KeyCode_Table
local KeyCodes = {
Space = _Engine_KeyCodes.Space,
Apostrophe = _Engine_KeyCodes.Apostrophe,
Comma = _Engine_KeyCodes.Comma,
Minus = _Engine_KeyCodes.Minus,
Period = _Engine_KeyCodes.Period,
Slash = _Engine_KeyCodes.Slash,
D0 = _Engine_KeyCodes.D0,
D1 = _Engine_KeyCodes.D1,
D2 = _Engine_KeyCodes.D2,
D3 = _Engine_KeyCodes.D3,
D4 = _Engine_KeyCodes.D4,
D5 = _Engine_KeyCodes.D5,
D6 = _Engine_KeyCodes.D6,
D7 = _Engine_KeyCodes.D7,
D8 = _Engine_KeyCodes.D8,
D9 = _Engine_KeyCodes.D9,
Semicolon = _Engine_KeyCodes.Semicolon,
Equal = _Engine_KeyCodes.Equal,
A = _Engine_KeyCodes.A,
B = _Engine_KeyCodes.B,
C = _Engine_KeyCodes.C,
D = _Engine_KeyCodes.D,
E = _Engine_KeyCodes.E,
F = _Engine_KeyCodes.F,
G = _Engine_KeyCodes.G,
H = _Engine_KeyCodes.H,
I = _Engine_KeyCodes.I,
J = _Engine_KeyCodes.J,
K = _Engine_KeyCodes.K,
L = _Engine_KeyCodes.L,
M = _Engine_KeyCodes.M,
N = _Engine_KeyCodes.N,
O = _Engine_KeyCodes.O,
P = _Engine_KeyCodes.P,
Q = _Engine_KeyCodes.Q,
R = _Engine_KeyCodes.R,
S = _Engine_KeyCodes.S,
T = _Engine_KeyCodes.T,
U = _Engine_KeyCodes.U,
V = _Engine_KeyCodes.V,
W = _Engine_KeyCodes.W,
X = _Engine_KeyCodes.X,
Y = _Engine_KeyCodes.Y,
Z = _Engine_KeyCodes.Z,
LeftBracket = _Engine_KeyCodes.LeftBracket,
Backslash = _Engine_KeyCodes.Backslash,
RightBracket = _Engine_KeyCodes.RightBracket,
GraveAccent = _Engine_KeyCodes.GraveAccent,
World1 = _Engine_KeyCodes.World1,
World2 = _Engine_KeyCodes.World2,
Escape = _Engine_KeyCodes.Escape,
Enter = _Engine_KeyCodes.Enter,
Tab = _Engine_KeyCodes.Tab,
Backspace = _Engine_KeyCodes.Backspace,
Insert = _Engine_KeyCodes.Insert,
Delete = _Engine_KeyCodes.Delete,
Right = _Engine_KeyCodes.Right,
Left = _Engine_KeyCodes.Left,
Down = _Engine_KeyCodes.Down,
Up = _Engine_KeyCodes.Up,
PageUp = _Engine_KeyCodes.PageUp,
PageDown = _Engine_KeyCodes.PageDown,
Home = _Engine_KeyCodes.Home,
End = _Engine_KeyCodes.End,
CapsLock = _Engine_KeyCodes.CapsLock,
ScrollLock = _Engine_KeyCodes.ScrollLock,
NumLock = _Engine_KeyCodes.NumLock,
PrintScreen = _Engine_KeyCodes.PrintScreen,
Pause = _Engine_KeyCodes.Pause,
F1 = _Engine_KeyCodes.F1,
F2 = _Engine_KeyCodes.F2,
F3 = _Engine_KeyCodes.F3,
F4 = _Engine_KeyCodes.F4,
F5 = _Engine_KeyCodes.F5,
F6 = _Engine_KeyCodes.F6,
F7 = _Engine_KeyCodes.F7,
F8 = _Engine_KeyCodes.F8,
F9 = _Engine_KeyCodes.F9,
F10 = _Engine_KeyCodes.F10,
F11 = _Engine_KeyCodes.F11,
F12 = _Engine_KeyCodes.F12,
F13 = _Engine_KeyCodes.F13,
F14 = _Engine_KeyCodes.F14,
F15 = _Engine_KeyCodes.F15,
F16 = _Engine_KeyCodes.F16,
F17 = _Engine_KeyCodes.F17,
F18 = _Engine_KeyCodes.F18,
F19 = _Engine_KeyCodes.F19,
F20 = _Engine_KeyCodes.F20,
F21 = _Engine_KeyCodes.F21,
F22 = _Engine_KeyCodes.F22,
F23 = _Engine_KeyCodes.F23,
F24 = _Engine_KeyCodes.F24,
F25 = _Engine_KeyCodes.F25,
KP0 = _Engine_KeyCodes.KP0,
KP1 = _Engine_KeyCodes.KP1,
KP2 = _Engine_KeyCodes.KP2,
KP3 = _Engine_KeyCodes.KP3,
KP4 = _Engine_KeyCodes.KP4,
KP5 = _Engine_KeyCodes.KP5,
KP6 = _Engine_KeyCodes.KP6,
KP7 = _Engine_KeyCodes.KP7,
KP8 = _Engine_KeyCodes.KP8,
KP9 = _Engine_KeyCodes.KP9,
KPDecimal = _Engine_KeyCodes.KPDecimal,
KPDivide = _Engine_KeyCodes.KPDivide,
KPMultiply = _Engine_KeyCodes.KPMultiply,
KPSubtract = _Engine_KeyCodes.KPSubtract,
KPAdd = _Engine_KeyCodes.KPAdd,
KPEnter = _Engine_KeyCodes.KPEnter,
KPEqual = _Engine_KeyCodes.KPEqual,
LeftShift = _Engine_KeyCodes.LeftShift,
LeftControl = _Engine_KeyCodes.LeftControl,
LeftAlt = _Engine_KeyCodes.LeftAlt,
LeftSuper = _Engine_KeyCodes.LeftSuper,
RightShift = _Engine_KeyCodes.RightShift,
RightControl = _Engine_KeyCodes.RightControl,
RightAlt = _Engine_KeyCodes.RightAlt,
RightSuper = _Engine_KeyCodes.RightSuper,
Menu = _Engine_KeyCodes.Menu
}
return KeyCodes