diff options
| author | jussi | 2023-11-18 17:11:36 +0200 |
|---|---|---|
| committer | jussi | 2023-11-18 17:11:36 +0200 |
| commit | d19864947b6e8ea1049a56ca3d965691c51b4108 (patch) | |
| tree | 5bd46e570b673ece6ef697848516d5d2401f093a /API.md | |
| parent | 5c8324d25f5f3500d5258f599afc710352611513 (diff) | |
| download | reilua-enhanced-d19864947b6e8ea1049a56ca3d965691c51b4108.tar.gz reilua-enhanced-d19864947b6e8ea1049a56ca3d965691c51b4108.tar.bz2 reilua-enhanced-d19864947b6e8ea1049a56ca3d965691c51b4108.zip | |
Joystick event.
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 |
