A while back I was asking how to detect key presses on a keyboard and was pointed to the node-red-node-pi-gpio
set of nodes with a keyboard node.
Ok, done.
(This is a side-project and so wasn't receiving correct priority and thus it has taken some time for me to post this.)
I have a couple of keyboards I use mainly. This one on my main machine and one of those rubber "roll up" keyboards.
Both work in so far they allow me to write programs and make mistakes on the machine into which they are plugged.
So, I installed the set of nodes and a few weeks passed until I again needed that functionality.
It didn't work.
On the machine the node shows green and all is ok. So what is wrong?
(Beats me)
Today I remembered and so powered up that machine and got another keyboard and plugged it in.
Now it works with that (new/other/never before tried) keyboard.
WEIRD!
I then unplugged this keyboard and plugged it into the Pie. (Two keyboards) (Wow!)
One, works. Other doesn't. (And the third one also doesn't)
All USB keyboards.
The one which works is a Jite
brand. (Shrug)
This one (the main one I use for most of my stuff) is a Logitech
one. (K120)
and the rubber one.. No-name/brand generic.
Is this to be expected?
Oh, that machine's specs:
RasPi 3B Stretch.
NR 1.2.7
rpi-keyboard 1.2.3 (rpi-gpio)
Anyone?