[−][src]Function gvr_sys::gvr_controller_state_get_button_state
pub unsafe extern "C" fn gvr_controller_state_get_button_state(
state: *const gvr_controller_state,
button: i32
) -> bool
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.