diff options
author | 最萌小汐 <sumneko@hotmail.com> | 2022-08-08 18:36:55 +0800 |
---|---|---|
committer | 最萌小汐 <sumneko@hotmail.com> | 2022-08-08 18:36:55 +0800 |
commit | 35c3ffc8690b265e93b37575989206e15275b5a9 (patch) | |
tree | c421944435d9c8b81804df04c9aa6a831a004806 /meta | |
parent | e22adc461f0743614bfdd6bdb8ce4d91ad6ba596 (diff) | |
download | lua-language-server-35c3ffc8690b265e93b37575989206e15275b5a9.zip |
update submodules
Diffstat (limited to 'meta')
-rw-r--r-- | meta/3rd/lovr/library/lovr.system.lua | 7 |
1 files changed, 7 insertions, 0 deletions
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 @@ -19,6 +19,13 @@ function lovr.system.getCoreCount() end 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. --- ---Usually this will pop up a dialog box that the user needs to confirm. |