Make A Keyboard on Another ComPiuTer
Github: https://github.com/MerlijnWajer/uinput-mapper
I used netcat instead of SSH since I’m not too worried about security on my LAN and it seems to intercept the keyboard before you can type your password. Must be run as root or more ideally just have privilege to mess with input devices.
On the computer in need of a keyboard:
# nc -l -p 7005|./input-create
Then on the computer with the keyboard:
# ./input-read -G /dev/input/eventX -D|nc 192.168.1.122 7005
(where eventX is your keyboard and 192.X.X.X is the computer you’re sending the keyboard to)
It’s had no speed issues and all the keys work correctly. I believe it works with mice too but I didn’t have a need to use that.
Leave a Reply