I have a Raspberry Pi B running Raspbian. I'm using it to create this for my little brother. I'm using Adafruit's Retrogame code (found here) to receive GPIO inputs and convert them into keyboard inputs. I've been able to configure it to work with a keyboard plugged in, but as soon as a keyboard is unplugged, the pi no longer receives input.

Is there a way to trick the pi into thinking that a keyboard is connected all the time? Is there a kernel module I can install or a package library that will do it all for me?

  • 1
    I'd personally try uinput. I have similar requirements as yours and started to investigate in that direction. – user29510 May 30 '15 at 16:20

Posting as an answer.

You can try uinput as it is designed to inject events into the input event queue.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.