Implemeting xbox one controller on uhid
Hans Petter Selasky
hps at selasky.org
Fri Jun 28 08:52:47 UTC 2019
On 2019-06-27 21:08, Stephane D'Alu wrote:
> Is it allowed to:
>
> - create/use several usb_xfer for the same type/endpoint/direction
Yes, they will be serialized in the submitted order.
> - in the callback (usb_config) to write several packets
> (multiple call to usbd_transfer_submit), with the same page_cache?
Yes, no problem. The buffer is freed once you free the USB transfer.
--HPS
More information about the freebsd-usb
mailing list