Skip to content
Discussion options

You must be logged in to vote

Are you using the standard boot.py from the JoystickXL documentation to configure CircuitPython HID devices? It enables keyboard, mouse, consumer control and joystick devices, and all of them should work as long as you have the appropriate libraries installed on your device - JoystickXL for the joystick functions and adafruit_hid for the rest. I just tried the following quick test on a Pico and everything worked as expected:

import board
import digitalio
import usb_hid
from adafruit_hid.keyboard import Keyboard
from adafruit_hid.keycode import Keycode
from adafruit_hid.mouse import Mouse
from joystick_xl.inputs import Axis, Button, Hat
from joystick_xl.joystick import Joystick

joystick = J…

Replies: 2 comments 1 reply

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
1 reply
@zombienerd
Comment options

Answer selected by zombienerd
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants