Closed srcnet2 closed 3 years ago
If I remember correctly, iOS does not like the gamepad support in the multi-device HID descriptor that CircuitPython presents. If you turn off Gamepad
, I think it will work. But you'd need to make a custom build. See https://learn.adafruit.com/building-circuitpython/customizing-usb-devices and the rest of that guide.
Eventually we hope to support dynamic HID descriptors so that you can choose at runtime which devices are present. But that support is not imminent.
Thank you so much. I was able to build CircuitPython and added:
USB_HID_DEVICES = "MOUSE"
to the bottom of mpconfigboard.mk
and it worked perfectly.
I created a test sketch that works with Windows, Linux and Mac. When plugging into an iPad nothing happens. No cursor is shown on the screen.
Here is the sample code for testing:
Board / Firmware: Adafruit CircuitPython 6.2.0-beta.2 on 2021-02-11; Raspberry Pi Pico with rp2040