Skip to content

Commit

Permalink
fix indexing with input_mapping
Browse files Browse the repository at this point in the history
  • Loading branch information
Dregu committed Nov 11, 2023
1 parent 750fb06 commit 70a9142
Show file tree
Hide file tree
Showing 5 changed files with 288 additions and 161 deletions.
183 changes: 92 additions & 91 deletions docs/game_data/lua_enums.txt
Original file line number Diff line number Diff line change
Expand Up @@ -2569,97 +2569,98 @@ QUEST_FLAG = {
WADDLER_AGGROED = 10
}
RAW_KEY = {
["0"] = 66,
["1"] = 67,
["2"] = 68,
["3"] = 69,
["4"] = 70,
["5"] = 71,
["6"] = 72,
["7"] = 73,
["8"] = 74,
["9"] = 75,
A = 8,
ADD = 87,
ALT = 38,
B = 9,
BACKSPACE = 41,
C = 10,
COMMA = 94,
CTRL = 34,
D = 11,
DECIMAL = 91,
DELETE = 105,
DIVIDE = 89,
DOWN = 2,
E = 12,
END = 107,
ESCAPE = 5,
F = 13,
F1 = 42,
F2 = 43,
F3 = 44,
F4 = 45,
F5 = 46,
F6 = 47,
F7 = 48,
F8 = 49,
F9 = 50,
F10 = 51,
F11 = 52,
F12 = 53,
G = 14,
H = 15,
HOME = 109,
I = 16,
INSERT = 104,
J = 17,
K = 18,
L = 19,
LALT = 38,
LCONTROL = 34,
LEFT = 3,
LSHIFT = 36,
M = 20,
MINUS = 93,
MULTIPLY = 88,
N = 21,
NUMPAD0 = 76,
NUMPAD1 = 77,
NUMPAD2 = 78,
NUMPAD3 = 79,
NUMPAD4 = 80,
NUMPAD5 = 81,
NUMPAD6 = 82,
NUMPAD7 = 83,
NUMPAD8 = 84,
NUMPAD9 = 85,
O = 22,
P = 23,
PERIOD = 95,
PGDN = 106,
PGUP = 108,
PLUS = 99,
Q = 24,
R = 25,
RALT = 39,
RCONTROL = 35,
RETURN = 6,
RIGHT = 4,
RSHIFT = 37,
S = 26,
SHIFT = 36,
SPACE = 40,
SUBTRACT = 86,
T = 27,
TAB = 7,
U = 28,
UP = 1,
V = 29,
W = 30,
X = 31,
Y = 32,
Z = 33
["0"] = 65,
["1"] = 66,
["2"] = 67,
["3"] = 68,
["4"] = 69,
["5"] = 70,
["6"] = 71,
["7"] = 72,
["8"] = 73,
["9"] = 74,
A = 9,
ADD = 86,
ALT = 37,
B = 10,
BACKSPACE = 40,
C = 11,
COMMA = 93,
CTRL = 33,
D = 12,
DECIMAL = 90,
DELETE = 104,
DIVIDE = 88,
DOWN = 1,
E = 13,
END = 106,
ESCAPE = 4,
F = 14,
F1 = 41,
F2 = 42,
F3 = 43,
F4 = 44,
F5 = 45,
F6 = 46,
F7 = 47,
F8 = 48,
F9 = 49,
F10 = 50,
F11 = 51,
F12 = 52,
G = 15,
H = 16,
HOME = 108,
I = 17,
INSERT = 103,
J = 18,
K = 19,
L = 20,
LALT = 37,
LCONTROL = 33,
LEFT = 2,
LSHIFT = 35,
M = 21,
MINUS = 92,
MULTIPLY = 87,
N = 22,
NUMPAD0 = 75,
NUMPAD1 = 76,
NUMPAD2 = 77,
NUMPAD3 = 78,
NUMPAD4 = 79,
NUMPAD5 = 80,
NUMPAD6 = 81,
NUMPAD7 = 82,
NUMPAD8 = 83,
NUMPAD9 = 84,
NUMPADENTER = 110,
O = 23,
P = 24,
PERIOD = 94,
PGDN = 105,
PGUP = 107,
PLUS = 98,
Q = 25,
R = 26,
RALT = 38,
RCONTROL = 34,
RETURN = 5,
RIGHT = 3,
RSHIFT = 36,
S = 27,
SHIFT = 35,
SPACE = 39,
SUBTRACT = 85,
T = 28,
TAB = 6,
U = 29,
UP = 0,
V = 30,
W = 31,
X = 32,
Y = 33,
Z = 34
}
RECURSIVE_MODE = {
EXCLUSIVE = 0,
Expand Down
129 changes: 125 additions & 4 deletions docs/game_data/spel2.lua

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading

0 comments on commit 70a9142

Please sign in to comment.