I’m developing a simple app for Raspberry Pi. The only user interface will be through a MakeyMakey board. I’ve tried the app on OS X and works OK, but on the RPi the MakeyMakey input is ignored.
I’ve tried the MakeyMakey with other apps and works fine. The RPi Terminal gets its events alright. Does OF in RPi need some kind of special initialization to receive MakeyMakey input?
Actually it’s just like a small usb keyboard. I can use it on other apps normally. But I shall give it a try running the app as root.
Do you think it’s possible that it conflicts with a regular keyboard if both MakeyMakey and a regular USB keyboard are plugged to the RPi at the same time?
Yes, it’s very possible that they conflict – right now on the Raspberry Pi we use a somewhat rudimentary event system for keyboard and mouse input. For example, it doesn’t support hot-plugging (but it could if someone wants to finish implementing it).
I’d guess that it will work if the makey makey is the only keyboard hooked up.
As a work-around, I’d suggest ssh’ing into the pi to control and start the program and only hook the pi up to the makey makey.
I’m having also problems getting the motorola lapdock’s keyboard to respond to OF events. It works great in the system but not in OF apps.
I guess is the early stage of the implementation as bakercp said.
...
[warning] ofAppEGLWindow: setupKeyboard(): unabled to find keyboard
[ error ] ofAppEGLWindow: setupKeyboard(): did not open keyboard
[ error ] ofAppEGLWindow: setupKeyboard(): did not open keyboard, keyboard_fd < 0
...
I tried using a hacked numeric keyboard like [this one][1] [1]: http://anything.in.ua/images/sku_3652_1.jpg but the key code I get when hitting any of its keys is always 0. Same with numeric keyboard on my normal keyboard. I guess we may only use standard keyboards on it…
I tried also using one of those small number pad keyboards and all the events registered as 0s. I wonder if this is something we can fix in the source or if it is a driver issue? I used leafpad and was able to print out the events no problem…