hey all (and MP admins)
first post!
would like to find out if there is interest for enabling usb hid for the rp2 board? thanks to the initial example from hippy in this thread, i've been working on a prototype to enable keyboard, mouse, consumer_control and gamepad from the tusb libraries.
i would plan to use a similar API as circuit python's adafruit_hid libraries.
any thoughts or suggestions at this time? will the MP admins support this feature and a PR eventually?
thanks!
interest for tiny usb hid integration?
Re: interest for tiny usb hid integration?
I would definitely be interested! BTW... check out the GITHUB status on this...
https://github.com/micropython/micropython/issues/6811
https://github.com/micropython/micropython/issues/6811
Re: interest for tiny usb hid integration?
hey All
i've made a set of changes to enable USB HID support for keyboard, mouse, consumer control and gamepad.
made a post on the raspberrypi forum as i can't seem to add an attachment in this forum.
https://forums.raspberrypi.com/viewtopic.php?p=1931681
would like to hear any feedback and suggestions. eventually, would be great to be able to upstream the changes to MP.
i've made a set of changes to enable USB HID support for keyboard, mouse, consumer control and gamepad.
made a post on the raspberrypi forum as i can't seem to add an attachment in this forum.
https://forums.raspberrypi.com/viewtopic.php?p=1931681
would like to hear any feedback and suggestions. eventually, would be great to be able to upstream the changes to MP.
Re: interest for tiny usb hid integration?
hi noobee!
tested your implementation, it works great so far. I've only got one little question regarding sending key presses:
Is it possible to send complete strings with the keyboard? It would make sending data to a commandline or e.g. notepad much easier
I see that in the keyboard.py there is a _send method, but it wouldn't let me send text...
Of course I could always for..loop and convert to hex value each character of a string, but I was hoping for a simpler solution
best regards
chris
tested your implementation, it works great so far. I've only got one little question regarding sending key presses:
Is it possible to send complete strings with the keyboard? It would make sending data to a commandline or e.g. notepad much easier
I see that in the keyboard.py there is a _send method, but it wouldn't let me send text...
Of course I could always for..loop and convert to hex value each character of a string, but I was hoping for a simpler solution
best regards
chris