ParsecHostSubmitRumble

ps,
uint32_t
guestID,
uint32_t
gamepadID,
uint8_t
motorBig,
uint8_t
motorSmall
)

Submit gamepad rumble data to a connected guests. HOST_GAME only.

Parameters

DirectionNameDescription
inpsParsec instance returned by ParsecInit.
inguestIDid member of ParsecGuest returned by ParsecHostGetGuests.
ingamepadIDUnique client-assigned index identifying the gamepad connected to the client.
inmotorBig8-bit unsigned value for large motor vibration.
inmotorSmall8-bit unsigned value for small motor vibration.

Returns

PARSEC_OK on success or PARSEC_NOT_RUNNING if the host has not been started.