[][src]Function gvr_sys::gvr_user_prefs_get_controller_handedness

pub unsafe extern "C" fn gvr_user_prefs_get_controller_handedness(
    user_prefs: *const gvr_user_prefs
) -> i32

Returns the controller handedness of the given gvr_user_prefs struct.

@param user_prefs Pointer to the gvr_user_prefs object returned by gvr_get_user_prefs. @return Either GVR_CONTROLLER_RIGHT_HANDED or GVR_CONTROLLER_LEFT_HANDED depending on which hand the user holds the controller in.