Skip to content
Discussion options

You must be logged in to vote

The short answer is yes, this is possible using JoystickXL. A word of warning, though - you mentioned "dozen of resistive sensors", but JoystickXL currently supports a maximum of 8 axes, so if you need more than 8 analog inputs on a single HID device then JoystickXL may not work for you.

As far as implementation goes, JoystickXL natively supports ADC expanders that are already supported in CircuitPython such as the MCP3008. See the example in the JoystickXL docs here.

You can also do completely custom input processing using VirtualInput objects as input sources. If you can collect analog sensor data and convert it to an integer range of 0-65535 (CircuitPython's standard range for analog i…

Replies: 1 comment 1 reply

Comment options

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

Answer selected by crossblade
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
Converted from issue

This discussion was converted from issue #10 on December 23, 2021 16:42.