mirror of
https://github.com/glfw/glfw.git
synced 2026-09-22 16:52:57 +00:00
Add glfwGetJoystickGUID
This function completes the first round of support for SDL_GameControllerDB. Fixes #900.
This commit is contained in:
@@ -228,6 +228,8 @@ int main(void)
|
||||
GLFWgamepadstate state;
|
||||
|
||||
nk_layout_row_dynamic(nk, 30, 1);
|
||||
nk_labelf(nk, NK_TEXT_LEFT, "Hardware GUID %s",
|
||||
glfwGetJoystickGUID(joysticks[i]));
|
||||
nk_label(nk, "Joystick state", NK_TEXT_LEFT);
|
||||
|
||||
axes = glfwGetJoystickAxes(joysticks[i], &axis_count);
|
||||
|
||||
Reference in New Issue
Block a user