Skip to content

Commit

Permalink
Merge pull request dan200#543 from hugeblank/ComputerCraft/patch-1
Browse files Browse the repository at this point in the history
amend typo in keys.lua
  • Loading branch information
SquidDev committed May 8, 2018
2 parents 4c2e97b + c0c5d57 commit 8775052
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ local tKeys = {
"comma", "period", "slash", "rightShift","multiply", -- 51
"leftAlt", "space", "capsLock", "f1", "f2", -- 56
"f3", "f4", "f5", "f6", "f7", -- 61
"f8", "f9", "f10", "numLock", "scollLock", -- 66
"f8", "f9", "f10", "numLock", "scrollLock", -- 66
"numPad7", "numPad8", "numPad9", "numPadSubtract","numPad4", -- 71
"numPad5", "numPad6", "numPadAdd","numPad1", "numPad2", -- 76
"numPad3", "numPad0", "numPadDecimal",nil, nil, -- 81
Expand Down Expand Up @@ -53,6 +53,7 @@ for nKey, sKey in pairs( tKeys ) do
keys[sKey] = nKey
end
keys["return"] = keys.enter
keys.scollLock = keys.scrollLock

function getName( _nKey )
if type( _nKey ) ~= "number" then
Expand Down

0 comments on commit 8775052

Please sign in to comment.