From 35c3ffc8690b265e93b37575989206e15275b5a9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=9C=80=E8=90=8C=E5=B0=8F=E6=B1=90?= Date: Mon, 8 Aug 2022 18:36:55 +0800 Subject: update submodules --- meta/3rd/lovr/library/lovr.system.lua | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'meta') diff --git a/meta/3rd/lovr/library/lovr.system.lua b/meta/3rd/lovr/library/lovr.system.lua index b3be6d49..431ce4b6 100644 --- a/meta/3rd/lovr/library/lovr.system.lua +++ b/meta/3rd/lovr/library/lovr.system.lua @@ -18,6 +18,13 @@ function lovr.system.getCoreCount() end ---@return string os # Either "Windows", "macOS", "Linux", "Android" or "Web". function lovr.system.getOS() end +--- +---Returns whether a key on the keyboard is pressed. +--- +---@param key lovr.KeyCode # The key. +---@return boolean down # Whether the key is currently pressed. +function lovr.system.isKeyDown(key) end + --- ---Requests permission to use a feature. --- -- cgit v1.2.3