[][src]Function vigem_sys::binds::vigem_target_ds4_register_notification

pub unsafe extern "C" fn vigem_target_ds4_register_notification(
    vigem: PVIGEM_CLIENT,
    target: PVIGEM_TARGET,
    notification: PFN_VIGEM_DS4_NOTIFICATION,
    userData: LPVOID
) -> VIGEM_ERROR

\fn VIGEM_ERROR vigem_target_ds4_register_notification(PVIGEM_CLIENT vigem, PVIGEM_TARGET target, PVIGEM_DS4_NOTIFICATION notification);

\brief Registers a function which gets called, when LightBar or vibration state changes occur on the provided target device. This function fails if the provided target device isn't fully operational or in an erroneous state.

\author Benjamin "Nefarius" H�glinger \date 28.08.2017

\param vigem The driver connection object. \param target The target device object. \param notification The notification callback. \param userData The user data passed to the notification callback.

\return A VIGEM_ERROR.