pub unsafe extern "C" fn SDL_GameControllerSendEffect(
    gamecontroller: *mut SDL_GameController,
    data: *const c_void,
    size: c_int
) -> c_int
Expand description

Send a controller specific effect packet

  • gamecontroller The controller to affect
  • data The data to send to the controller
  • size The size of the data to send to the controller
  • Returns: 0, or -1 if this controller or driver doesn’t support effect packets