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 | |
parent | e22adc461f0743614bfdd6bdb8ce4d91ad6ba596 (diff) | |
download | lua-language-server-35c3ffc8690b265e93b37575989206e15275b5a9.zip |
update submodules
m--------- | 3rd/EmmyLuaCodeStyle | 0 | ||||
m--------- | 3rd/lovr-api | 0 | ||||
-rw-r--r-- | meta/3rd/lovr/library/lovr.system.lua | 7 |
3 files changed, 7 insertions, 0 deletions
diff --git a/3rd/EmmyLuaCodeStyle b/3rd/EmmyLuaCodeStyle -Subproject 6034561790f28147a8f4112d7d764863c5aeaf2 +Subproject 13ccea5e2e0cd8d0df1599b792ff181f9932754 diff --git a/3rd/lovr-api b/3rd/lovr-api -Subproject 5bc82dc8b3a05207d14e8ef7ab6334c672845fb +Subproject deccaa8f594a25c1bfb1ae8d24466db70da099d 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. |