diff options
Diffstat (limited to 'API.md')
| -rw-r--r-- | API.md | 26 |
1 files changed, 25 insertions, 1 deletions
@@ -49,7 +49,7 @@ Some objects allocate memory that needs to be freed when object is no longer nee Arguments are stored in 'RL.arg' array. -## Types +## Structures Raylib structs in Lua @@ -333,6 +333,12 @@ Content of event table received by RL.event. --- +> { type RL.EVENT_JOYSTICK, int jid, int event } + + . + +--- + ## Globals - ConfigFlags > FLAG_VSYNC_HINT = 64 @@ -3391,6 +3397,18 @@ The key was held down until it repeated --- +> GLFW_CONNECTED = 262145 + +Joystick connected + +--- + +> GLFW_DISCONNECTED = 262146 + +Joystick disconnected + +--- + ## Globals - CBuffer > BUFFER_UNSIGNED_CHAR = 0 @@ -3511,6 +3529,12 @@ GLFW event cursor enter/leave --- +> EVENT_JOYSTICK = 11 + +GLFW event joystick + +--- + ## Core - Window-related functions |
