summaryrefslogtreecommitdiff
path: root/meta/3rd/love2d/library/love.event.lua
diff options
context:
space:
mode:
author最萌小汐 <sumneko@hotmail.com>2022-01-12 14:52:30 +0800
committer最萌小汐 <sumneko@hotmail.com>2022-01-12 14:52:30 +0800
commit62025440534df25cdfb3766f8b59536cedc707e6 (patch)
tree45849ac97269e11a8609711e34074513e5580af4 /meta/3rd/love2d/library/love.event.lua
parent6b3a0d0bb780b4eab4dbec77f3bb4d394aa5527f (diff)
downloadlua-language-server-62025440534df25cdfb3766f8b59536cedc707e6.zip
fix #902
Diffstat (limited to 'meta/3rd/love2d/library/love.event.lua')
-rw-r--r--meta/3rd/love2d/library/love.event.lua76
1 files changed, 38 insertions, 38 deletions
diff --git a/meta/3rd/love2d/library/love.event.lua b/meta/3rd/love2d/library/love.event.lua
index 3e8d7ff4..44339d88 100644
--- a/meta/3rd/love2d/library/love.event.lua
+++ b/meta/3rd/love2d/library/love.event.lua
@@ -68,152 +68,152 @@ function love.event.wait() end
---
---Since 0.8.0, event names are no longer abbreviated.
---
----@class love.Event
+---@alias love.Event
---
---Window focus gained or lost
---
----@field focus integer
+---| '"focus"'
---
---Joystick pressed
---
----@field joystickpressed integer
+---| '"joystickpressed"'
---
---Joystick released
---
----@field joystickreleased integer
+---| '"joystickreleased"'
---
---Key pressed
---
----@field keypressed integer
+---| '"keypressed"'
---
---Key released
---
----@field keyreleased integer
+---| '"keyreleased"'
---
---Mouse pressed
---
----@field mousepressed integer
+---| '"mousepressed"'
---
---Mouse released
---
----@field mousereleased integer
+---| '"mousereleased"'
---
---Quit
---
----@field quit integer
+---| '"quit"'
---
---Window size changed by the user
---
----@field resize integer
+---| '"resize"'
---
---Window is minimized or un-minimized by the user
---
----@field visible integer
+---| '"visible"'
---
---Window mouse focus gained or lost
---
----@field mousefocus integer
+---| '"mousefocus"'
---
---A Lua error has occurred in a thread
---
----@field threaderror integer
+---| '"threaderror"'
---
---Joystick connected
---
----@field joystickadded integer
+---| '"joystickadded"'
---
---Joystick disconnected
---
----@field joystickremoved integer
+---| '"joystickremoved"'
---
---Joystick axis motion
---
----@field joystickaxis integer
+---| '"joystickaxis"'
---
---Joystick hat pressed
---
----@field joystickhat integer
+---| '"joystickhat"'
---
---Joystick's virtual gamepad button pressed
---
----@field gamepadpressed integer
+---| '"gamepadpressed"'
---
---Joystick's virtual gamepad button released
---
----@field gamepadreleased integer
+---| '"gamepadreleased"'
---
---Joystick's virtual gamepad axis moved
---
----@field gamepadaxis integer
+---| '"gamepadaxis"'
---
---User entered text
---
----@field textinput integer
+---| '"textinput"'
---
---Mouse position changed
---
----@field mousemoved integer
+---| '"mousemoved"'
---
---Running out of memory on mobile devices system
---
----@field lowmemory integer
+---| '"lowmemory"'
---
---Candidate text for an IME changed
---
----@field textedited integer
+---| '"textedited"'
---
---Mouse wheel moved
---
----@field wheelmoved integer
+---| '"wheelmoved"'
---
---Touch screen touched
---
----@field touchpressed integer
+---| '"touchpressed"'
---
---Touch screen stop touching
---
----@field touchreleased integer
+---| '"touchreleased"'
---
---Touch press moved inside touch screen
---
----@field touchmoved integer
+---| '"touchmoved"'
---
---Directory is dragged and dropped onto the window
---
----@field directorydropped integer
+---| '"directorydropped"'
---
---File is dragged and dropped onto the window.
---
----@field filedropped integer
+---| '"filedropped"'
---
---Joystick pressed
---
----@field jp integer
+---| '"jp"'
---
---Joystick released
---
----@field jr integer
+---| '"jr"'
---
---Key pressed
---
----@field kp integer
+---| '"kp"'
---
---Key released
---
----@field kr integer
+---| '"kr"'
---
---Mouse pressed
---
----@field mp integer
+---| '"mp"'
---
---Mouse released
---
----@field mr integer
+---| '"mr"'
---
---Quit
---
----@field q integer
+---| '"q"'
---
---Window focus gained or lost
---
----@field f integer
+---| '"f"'