pub unsafe extern "C" fn gvr_controller_state_get_button_state(
state: *const gvr_controller_state,
button: i32,
) -> boolExpand description
Returns whether the given button is currently pressed.
@param state The controller state to get the button state from. @return True iff the button specified by the ‘state’ parameter is pressed, false otherwise.