Closed KurtE closed 5 years ago
@PaulStoffregen and @mjs513 - Would be great if we could pull in this first pass at Bluetooth stuff, as it would be good to get a checkpoint of this stuff before I start to rework a few pieces of it,
Including the ability to support multiple bluetooth devices at the same time. Like a Mouse and Keyboard.
I think this will require a few changes to some of the internal structures and the like. Things like: I think each device needs to have their own DCIDs that I need to save away in the clients...
But before I do that it would be nice to allow others to play... And this version already has support for Bluetooth for: Some Mice, Keyboards, Joysticks (PS3, PS4, PS3 Motion, a digitizer.
Also some fixes and enhancements outside of Bluetooth, like some stuff on Mice, plus some fixes used to support USB hard disks/thumb drives... (Iissue with how many output structures needed when the buffer size passed in was an exact multiple of the max per structure...)
This is a first pass at supporting some bluetooth devices in the usbhost_t36 library.
We have had some luck working with some bluetooth keyboards, and Mice as well as the the PS3 and PS4 game controllers. Currently trying to get the XBox One controller to work through bluetooth, this branch also includes several enhancements/fixes for the joystick support.
More information in the forum threads: https://forum.pjrc.com/threads/49358-T3-6-USB-Host-Bluetooth https://forum.pjrc.com/threads/49099-T3-6-USB-Host-Joysticks