mirror of
https://github.com/gwm17/glfw.git
synced 2024-11-26 20:28:49 -05:00
Documented joystick name caveat.
This commit is contained in:
parent
20c891f566
commit
d4a08b10fd
|
@ -1540,6 +1540,9 @@ GLFWAPI int glfwGetJoystickButtons(int joy, unsigned char* buttons, int numbutto
|
|||
* @return The UTF-8 encoded name of the joystick, or @c NULL if the joystick
|
||||
* is not present.
|
||||
* @ingroup input
|
||||
*
|
||||
* @note The returned string is valid only until the next call to @ref
|
||||
* glfwGetJoystickName.
|
||||
*/
|
||||
GLFWAPI const char* glfwGetJoystickName(int joy);
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user