Skip to content

Rename HID device #5445

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

Closed
benwa opened this issue Oct 8, 2021 · 6 comments · Fixed by #8989
Closed

Rename HID device #5445

benwa opened this issue Oct 8, 2021 · 6 comments · Fixed by #8989

Comments

@benwa
Copy link

benwa commented Oct 8, 2021

Currently, unless we recompile CircuitPython, we have to use "CircuitPython HID" for things like a game controller.
I'd like to be able to rename that, if at all possible.

@dhalbert dhalbert added the usb label Oct 8, 2021
@dhalbert dhalbert added this to the Long term milestone Oct 8, 2021
@dhalbert
Copy link
Collaborator

dhalbert commented Oct 8, 2021

@fasteddy516
Copy link

I would love to see this functionality as well. If you have multiple CP USB-HID devices connected simultaneously, selecting a specific one from a list (i.e. choosing a controller in a game, or a specialized input device for an editing suite) involves a mini-game of "which 'CircuitPython HID' device is which". 😃

Something along the lines of usb_hid.enable(name="My Nifty Controller", ...) in boot.py would be lovely.

@George-TL
Copy link

George-TL commented Jan 30, 2023

With CPv8 we now have supervisor.set_usb_identification() which is a step in a right direction.
Unfortunately "lsusb -v" still shows "CircuitPython HID" on iInterface attribute.

@usamashafiqs
Copy link

Any update on this

@dhalbert
Copy link
Collaborator

There are no immediate plans to implement this. If someone feels like working on a PR, that would be great.

@MariuszCwikla
Copy link

I would also like to have this feature.
I actually spent some time and implemented it here #8989

@dhalbert dhalbert linked a pull request Mar 3, 2024 that will close this issue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

6 participants