Renamed glfwGetJoystickPos to glfwGetJoystickAxes.

This commit is contained in:
Camilla Berglund
2012-08-29 18:31:12 +02:00
parent 38e4cc3dad
commit 2502e4d6f3
8 changed files with 21 additions and 20 deletions
+1 -1
View File
@@ -137,7 +137,7 @@ static void refresh_joysticks(void)
j->axes = realloc(j->axes, j->axis_count * sizeof(float));
}
glfwGetJoystickPos(GLFW_JOYSTICK_1 + i, j->axes, j->axis_count);
glfwGetJoystickAxes(GLFW_JOYSTICK_1 + i, j->axes, j->axis_count);
button_count = glfwGetJoystickParam(GLFW_JOYSTICK_1 + i, GLFW_BUTTONS);
if (button_count != j->button_count)