implemented l2 and r2 mostly (except for some to-do items mentioned in comments)

This commit is contained in:
2026-01-20 08:32:29 +00:00
parent 38e31b2097
commit 9962232f83
3 changed files with 59 additions and 18 deletions

View File

@@ -70,6 +70,14 @@ float getLeftJoystickYAxisState() {
}
}
float getL2State() {
return axes[2];
}
float getR2State() {
return axes[5];
}
int isCrossButtonPressed() {
return state.buttons[GLFW_GAMEPAD_BUTTON_CROSS];
}