diff options
author | Sewbacca <sewbacca@live.de> | 2022-05-29 20:26:25 +0200 |
---|---|---|
committer | Sewbacca <sewbacca@live.de> | 2022-05-29 20:26:25 +0200 |
commit | 86d70a42239f6a3dcd6e638c53b805c5052bdc57 (patch) | |
tree | 9bc035299eedf095d6ce7ea393a41d47f17d50fa /meta/3rd/love2d/library/love.keyboard.lua | |
parent | 7eaec047d708e84a7c29dd9d70e306d90fac412d (diff) | |
download | lua-language-server-86d70a42239f6a3dcd6e638c53b805c5052bdc57.zip |
Added vararg support
Diffstat (limited to 'meta/3rd/love2d/library/love.keyboard.lua')
-rw-r--r-- | meta/3rd/love2d/library/love.keyboard.lua | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/meta/3rd/love2d/library/love.keyboard.lua b/meta/3rd/love2d/library/love.keyboard.lua index 1f1a2ef5..2f68c50f 100644 --- a/meta/3rd/love2d/library/love.keyboard.lua +++ b/meta/3rd/love2d/library/love.keyboard.lua @@ -60,8 +60,9 @@ function love.keyboard.isDown(key) end ---Unlike regular KeyConstants, Scancodes are keyboard layout-independent. The scancode 'w' is used if the key in the same place as the 'w' key on an American keyboard is pressed, no matter what the key is labelled or what the user's operating system settings are. --- ---@param scancode love.Scancode # A Scancode to check. +---@vararg love.Scancode # Additional Scancodes to check. ---@return boolean down # True if any supplied Scancode is down, false if not. -function love.keyboard.isScancodeDown(scancode) end +function love.keyboard.isScancodeDown(scancode, ...) end --- ---Enables or disables key repeat for love.keypressed. It is disabled by default. |