This feels like a very odd request but feel like it should be possible within Linux.

I'm running the latest version of Raspbian with kernel version 4.1

What I'm trying to achieve is to have two keyboards (one is actually a Logitech Harmony Remote) connected to a single Raspberry Pi but only have one control the OS.

I have /dev/input/event2 which appears to be my wired keyboard and /dev/input/event6 which is my remote.

I'd like the wired keyboard to work as normal, but the remote to do absolutely nothing so I can capture the events using NodeJS (already tested and works fine, but the remote controls the OS which causes issues).

1 Answer 1


Python evdev can do exactly what you are asking.


  • Thanks, looks spot on! Just got to work out how to do this in NodeJS now :)
    – Nick
    Commented Feb 21, 2016 at 11:20

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

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