Skip to content

Rename HID device #5445

Closed
Closed

Description

@benwa

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.

Activity

  1. added this to the Long term milestone on Oct 8, 2021
  2. dhalbert commented on Oct 8, 2021

    @dhalbert
    Collaborator
  3. fasteddy516 commented on Feb 4, 2022

    @fasteddy516

    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.

  4. George-TL commented on Jan 30, 2023

    @George-TL

    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.

  5. usamashafiqs commented on Aug 10, 2023

    @usamashafiqs

    Any update on this

  6. dhalbert commented on Aug 11, 2023

    @dhalbert
    Collaborator

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

  7. MariuszCwikla commented on Feb 28, 2024

    @MariuszCwikla

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

  8. linked a pull request that will close this issueusb_hid.set_interface_name #8989on Mar 3, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions