#HID gamepads on macos

1 messages ยท Page 1 of 1 (latest)

warped thicket
#

I packaged the gamepad code in a library

#

I have a pico with a few buttons hardwired on the side, so I reused a bit of code I had running on it, it's fundamentally the same but I couldn't reuse it because keypad and async are not on the CPX.

#

also I'm on MacOS 12.6.5

#

you can see if it shows up with something like this in the mac's command line

ioreg -l | grep -A 16 "CircuitPython HID"
#

(I see the pico, the CPX and my usual macropad)

dusky creek
#

Awesome. Thanks! I will give it a try on CPX after lunch

warped thicket
#

it works with that CPX code on my feather NRF52840 Express too (I'm running 8.1.0-beta.2 but I don't expect a difference with versions of CP8)

dusky creek
#

Just getting back to this - I tried your code on CPX and still nothing (after updating the bootloader and CP to 8.1.0-beta.2)

#

I'm on MacOS 13.3.1 - wonder if that's the difference

#

I have an older mac somewhere - I'll try that

warped thicket
#

are you still testing with the site ? It stopped working somehow after Firefox crashed, so I tried in Chrome, allowing it to access the inputs temporarily

dusky creek
#

I was trying that site, yes, but the OS gamepad settings don't show it either

#

WHAT! It works in Chrome

#

doesn't work in Firefox OR Safari, and the OS doesn't recognize a gamepad, but somehow it works in Chrome

#

so strange

#

Well... I guess that's good enough for this project. Thanks for the help!

#

And works in firefox on my old mac (10.14.6)