Skip to content

Commit 35c3ffc

Browse files
committed
update submodules
1 parent e22adc4 commit 35c3ffc

File tree

3 files changed

+9
-2
lines changed

3 files changed

+9
-2
lines changed

3rd/EmmyLuaCodeStyle

Submodule EmmyLuaCodeStyle updated 35 files

meta/3rd/lovr/library/lovr.system.lua

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,13 @@ function lovr.system.getCoreCount() end
1818
---@return string os # Either "Windows", "macOS", "Linux", "Android" or "Web".
1919
function lovr.system.getOS() end
2020

21+
---
22+
---Returns whether a key on the keyboard is pressed.
23+
---
24+
---@param key lovr.KeyCode # The key.
25+
---@return boolean down # Whether the key is currently pressed.
26+
function lovr.system.isKeyDown(key) end
27+
2128
---
2229
---Requests permission to use a feature.
2330
---

0 commit comments

Comments
 (0)