mirror of
https://github.com/glfw/glfw.git
synced 2026-09-21 16:44:11 +00:00
Merge branch 'master' into EGL
This commit is contained in:
@@ -1539,6 +1539,14 @@ GLFWAPI int glfwGetJoystickAxes(int joy, float* axes, int numaxes);
|
||||
*/
|
||||
GLFWAPI int glfwGetJoystickButtons(int joy, unsigned char* buttons, int numbuttons);
|
||||
|
||||
/*! @brief Returns the name of the specified joystick.
|
||||
* @param[in] joy The joystick to query.
|
||||
* @return The UTF-8 encoded name of the joystick, or @c NULL if the joystick
|
||||
* is not present.
|
||||
* @ingroup input
|
||||
*/
|
||||
GLFWAPI const char* glfwGetJoystickName(int joy);
|
||||
|
||||
/*! @brief Sets the clipboard to the specified string.
|
||||
* @param[in] window The window that will own the clipboard contents.
|
||||
* @param[in] string A UTF-8 encoded string.
|
||||
|
||||
Reference in New Issue
Block a user