Function gvr_controller_state_get_touch_down

Source
pub unsafe extern "C" fn gvr_controller_state_get_touch_down(
    state: *const gvr_controller_state,
) -> bool
Expand description

Returns true iff user just started touching touchpad. This is a transient event (i.e., it is true for only one frame after the event).

@param state The controller state to get the touch down data from. @return True iff the user just started touching the touchpad, false otherwise.