implemented l2 and r2 mostly (except for some to-do items mentioned in comments)
This commit is contained in:
@@ -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];
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user