diff options
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. |