Forums
Keyboard not responding? - Printable Version

+- Forums (http://www.scratchpadgames.net/forums)
+-- Forum: MagPi articles (http://www.scratchpadgames.net/forums/forumdisplay.php?fid=7)
+--- Forum: General Chat (http://www.scratchpadgames.net/forums/forumdisplay.php?fid=8)
+--- Thread: Keyboard not responding? (/showthread.php?tid=129)



Keyboard not responding? - Brian Beuken - 08-22-2018

I have had a few issues getting a 100% reliable keyboard routine, but generally its only wireless keyboards that seem to give a problem.
My own personal keyboard when coding is a small Logitech keyboard/mouse combo, it works great, but it is not actually recognised by all my Pi's in the same way, some think its a mouse, some think its a keyboard

You need to review the AreYouMyKeyboard method in the Input class, it will normally be set up as kbd, but I sometimes set it up as mouse, whichever version you have, and you find its not working, try the other.

There are also a very very few cases where this fix does not work, but its very rare, in which case you need to directly enter the event file for your keyboard in the keyboard handler.

If you can't solve it, feel free to mail me and I'll try to help you out!