Function gvr_sys::gvr_controller_state_get_button_up [] [src]

pub unsafe extern "C" fn gvr_controller_state_get_button_up(
    state: *const gvr_controller_state,
    button: i32
) -> bool

Returns whether the given button was just released (transient).

@param state The controller state to get the button released data from. @return True iff the button specified by the 'state' parameter was just released, false otherwise.