Skip to content

Commit 8775052

Browse files
committed
Merge pull request dan200#543 from hugeblank/ComputerCraft/patch-1
amend typo in keys.lua
2 parents 4c2e97b + c0c5d57 commit 8775052

File tree

1 file changed

+2
-1
lines changed
  • src/main/resources/assets/computercraft/lua/rom/apis

1 file changed

+2
-1
lines changed

src/main/resources/assets/computercraft/lua/rom/apis/keys.lua

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ local tKeys = {
1616
"comma", "period", "slash", "rightShift","multiply", -- 51
1717
"leftAlt", "space", "capsLock", "f1", "f2", -- 56
1818
"f3", "f4", "f5", "f6", "f7", -- 61
19-
"f8", "f9", "f10", "numLock", "scollLock", -- 66
19+
"f8", "f9", "f10", "numLock", "scrollLock", -- 66
2020
"numPad7", "numPad8", "numPad9", "numPadSubtract","numPad4", -- 71
2121
"numPad5", "numPad6", "numPadAdd","numPad1", "numPad2", -- 76
2222
"numPad3", "numPad0", "numPadDecimal",nil, nil, -- 81
@@ -53,6 +53,7 @@ for nKey, sKey in pairs( tKeys ) do
5353
keys[sKey] = nKey
5454
end
5555
keys["return"] = keys.enter
56+
keys.scollLock = keys.scrollLock
5657

5758
function getName( _nKey )
5859
if type( _nKey ) ~= "number" then

0 commit comments

Comments
 (0)