Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

FEATURE: Add USB-HID compatibility #121

Open
TheOddCell opened this issue Aug 28, 2024 · 1 comment
Open

FEATURE: Add USB-HID compatibility #121

TheOddCell opened this issue Aug 28, 2024 · 1 comment
Labels
enhancement New feature or request

Comments

@TheOddCell
Copy link

As far as I can tell, to use USB-HID, you need to change boot.py to include:

import pyb
pyb.usb_mode()

However, this is not really an option with MicroHydra, so I propose before reseting to the apploader checking if it has some comment like #mh-usb_hid-enable or something similar to run pyb.usb_mode in the boot.py after reseting.

Of cource, this is just an idea, and I am not a MicroPython expert, but this seems to be the case.

@echo-lalia echo-lalia added the enhancement New feature or request label Aug 28, 2024
@echo-lalia
Copy link
Owner

The example you sent seems to be specific to the Pyboard, and is not part of the ESP32 port of MicroPython.

Can I ask what functionality you're hoping to get from this? I'm having trouble determining what the goal of your feature request is, because is, because I don't think that code would do a lot on its own.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants