Function gvr_sys::gvr_controller_state_get_touch_pos
[−]
[src]
pub unsafe extern "C" fn gvr_controller_state_get_touch_pos(
state: *const gvr_controller_state
) -> gvr_vec2f
If the user is touching the touchpad, this returns the touch position in normalized coordinates, where (0,0) is the top-left of the touchpad and (1,1) is the bottom right. If the user is not touching the touchpad, then this is the position of the last touch.