Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Keyboard not responding?
#1
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!
Brian Beuken
Lecturer in Game Programming at Breda University of Applied Sciences.
Author of The Fundamentals of C/C++ Game Programming: Using Target-based Development on SBC's 



Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)