ParsecHostSubmitRumble
ParsecStatusParsecHostSubmitRumble(Parsec *ps,uint32_tguestID,uint32_tgamepadID,uint8_tmotorBig,uint8_tmotorSmall)
Submit gamepad rumble data to a connected guests. HOST_GAME
only.
Parameters
Direction | Name | Description |
---|---|---|
in | ps | Parsec instance returned by ParsecInit . |
in | guestID | id member of ParsecGuest returned by ParsecHostGetGuests . |
in | gamepadID | Unique client-assigned index identifying the gamepad connected to the client. |
in | motorBig | 8-bit unsigned value for large motor vibration. |
in | motorSmall | 8-bit unsigned value for small motor vibration. |
Returns
PARSEC_OK
on success or PARSEC_NOT_RUNNING
if the host has not been started.