Hi folks,
just got the yun and love it! But i have trouble to get a normal USB Keyboard running. I want to capture all keyboard events inside a sketch.
My idea is to route the keyboard input into the telnet localhost 6571, i guess its the only way to get the keyboard input and work with it through console.read(), but i dont know how to route it. Any helps pls
new information:
i dont get the keyboard working on the linux side. lsusb displays the keyboard but the keyboards leds (capslock, num..) dont light up.
what do i have to do to catch the keyboard inputs inside the sketch?
i tried now a working sketch for the uno with a usb shield on the yun. i connected the usb shield on the yun and uploaded the code, but it dont work too, i just see tubes on the lcd display. it seems the usb host shield libraries for the sains smart usb shield are not working with the yun.
snooops:
i tried now a working sketch for the uno with a usb shield on the yun. i connected the usb shield on the yun and uploaded the code, but it dont work too, i just see tubes on the lcd display. it seems the usb host shield libraries for the sains smart usb shield are not working with the yun.
Make sure that whatever shields/sketches you are using are made for a Leonardo, not an Uno. There are differences between those two and the USB part is likely to be one of them, as they have different chips to handle the USB stuff (it's buildin in the 32u4 chip used by the Leonardo/Yun)....