diff options
author | 最萌小汐 <sumneko@hotmail.com> | 2021-10-25 16:44:08 +0800 |
---|---|---|
committer | 最萌小汐 <sumneko@hotmail.com> | 2021-10-25 16:44:08 +0800 |
commit | 8ced2703cc4598fe880cf27f2f82a90e947b532f (patch) | |
tree | 0e4c8e0de8128d5fcccb217581a907170256d01a /meta/3rd/love2d/library/love.joystick.lua | |
parent | 916bec18c8384f14404b2b79d762855d1610411a (diff) | |
download | lua-language-server-8ced2703cc4598fe880cf27f2f82a90e947b532f.zip |
update love2d-api
Diffstat (limited to 'meta/3rd/love2d/library/love.joystick.lua')
-rw-r--r-- | meta/3rd/love2d/library/love.joystick.lua | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/meta/3rd/love2d/library/love.joystick.lua b/meta/3rd/love2d/library/love.joystick.lua index dab3ea25..65cfdc6b 100644 --- a/meta/3rd/love2d/library/love.joystick.lua +++ b/meta/3rd/love2d/library/love.joystick.lua @@ -58,7 +58,7 @@ function love.joystick.saveGamepadMappings(filename) end ---@param button love.GamepadButton # The virtual gamepad button to bind. ---@param inputtype love.JoystickInputType # The type of input to bind the virtual gamepad button to. ---@param inputindex number # The index of the axis, button, or hat to bind the virtual gamepad button to. ----@param hatdir love.JoystickHat # The direction of the hat, if the virtual gamepad button will be bound to a hat. nil otherwise. +---@param hatdir? love.JoystickHat # The direction of the hat, if the virtual gamepad button will be bound to a hat. nil otherwise. ---@return boolean success # Whether the virtual gamepad button was successfully bound. function love.joystick.setGamepadMapping(guid, button, inputtype, inputindex, hatdir) end |