summaryrefslogtreecommitdiff
path: root/ReiLua_API.lua
diff options
context:
space:
mode:
authorjussi2023-11-18 17:11:36 +0200
committerjussi2023-11-18 17:11:36 +0200
commitd19864947b6e8ea1049a56ca3d965691c51b4108 (patch)
tree5bd46e570b673ece6ef697848516d5d2401f093a /ReiLua_API.lua
parent5c8324d25f5f3500d5258f599afc710352611513 (diff)
downloadreilua-enhanced-d19864947b6e8ea1049a56ca3d965691c51b4108.tar.gz
reilua-enhanced-d19864947b6e8ea1049a56ca3d965691c51b4108.tar.bz2
reilua-enhanced-d19864947b6e8ea1049a56ca3d965691c51b4108.zip
Joystick event.
Diffstat (limited to 'ReiLua_API.lua')
-rw-r--r--ReiLua_API.lua6
1 files changed, 6 insertions, 0 deletions
diff --git a/ReiLua_API.lua b/ReiLua_API.lua
index 7e93b23..de4bcbb 100644
--- a/ReiLua_API.lua
+++ b/ReiLua_API.lua
@@ -1161,6 +1161,10 @@ RL.GLFW_RELEASE=0
RL.GLFW_PRESS=1
---The key was held down until it repeated
RL.GLFW_REPEAT=2
+---Joystick connected
+RL.GLFW_CONNECTED=262145
+---Joystick disconnected
+RL.GLFW_DISCONNECTED=262146
-- Globals - CBuffer
@@ -1208,6 +1212,8 @@ RL.EVENT_MOUSE_CURSOR_POS=8
RL.EVENT_MOUSE_SCROLL=9
---GLFW event cursor enter/leave
RL.EVENT_CURSOR_ENTER=10
+---GLFW event joystick
+RL.EVENT_JOYSTICK=11
-- Core - Window-related functions
---Check if window has been initialized successfully