Hello,
my project uses usb host to read keyboard input on a teensy 4.1. Using the examples from the library I was able to get it to work with a random noname keyboard using a wireless dongle. Now switching to a Logitech (POP Keys keyboard) with unifying dongle, keypresses aren't registering. I can tell something isn't initializing because the caps lock led doesnt light up when I press that key (unlike on PC with the same dongle).
Using the code from this example: https://github.com/PaulStoffregen/U.../examples/keyboard_viewer/keyboard_viewer.ino (but removing the TFT-related stuff)
It shows up as 3 devices:
Where my noname keyboard just shows
Now the fun detail: if I first connect the noname keyboard and press a key, then swap the dongle for the Logitech one, it works. The keypresses are received, the caps lock led responds etc.
Any clue as to what's going on ?
Thanks!
PS: this is my first post but I've been lurking here for a while, usually finding the insights I needed. Teensy is an incredibly fun and powerful platform, huge thanks to Paul and the community here !
my project uses usb host to read keyboard input on a teensy 4.1. Using the examples from the library I was able to get it to work with a random noname keyboard using a wireless dongle. Now switching to a Logitech (POP Keys keyboard) with unifying dongle, keypresses aren't registering. I can tell something isn't initializing because the caps lock led doesnt light up when I press that key (unlike on PC with the same dongle).
Using the code from this example: https://github.com/PaulStoffregen/U.../examples/keyboard_viewer/keyboard_viewer.ino (but removing the TFT-related stuff)
It shows up as 3 devices:
Code:
*** Device HID1 46d:c548 - connected ***
manufacturer: Logitech
product: USB Receiver
*** Device HID2 46d:c548 - connected ***
manufacturer: Logitech
product: USB Receiver
*** HID Device Keyboard 46d:c548 - connected ***
manufacturer: Logitech
product: USB Receiver
Where my noname keyboard just shows
Code:
*** Device HID1 6901:2701 - connected ***
*** HID Device Keyboard 6901:2701 - connected ***
Now the fun detail: if I first connect the noname keyboard and press a key, then swap the dongle for the Logitech one, it works. The keypresses are received, the caps lock led responds etc.
Any clue as to what's going on ?
Thanks!
PS: this is my first post but I've been lurking here for a while, usually finding the insights I needed. Teensy is an incredibly fun and powerful platform, huge thanks to Paul and the community here !
Last edited: