Implement KeyPressed
This commit is contained in:
parent
b5c44e845a
commit
e9f0bc17a6
2 changed files with 28 additions and 6 deletions
4
test.lua
4
test.lua
|
@ -3,6 +3,6 @@ function engine.KeyReleased(key)
|
|||
print("Released key: " .. key)
|
||||
end
|
||||
|
||||
function engine.KeyDown(key)
|
||||
print("Key down: " .. key)
|
||||
function engine.KeyPressed(key)
|
||||
print("Pressed key: " .. key)
|
||||
end
|
Loading…
Add table
Add a link
Reference in a new issue