map keyboard keys to commands (headless server)
I have a headless computer that is running as a server I want to add a wireless remote that works as HID keyboard to run scripts and the like. The remote is connected via usb and is recognized. the question I have is how to check what the kernel receives on keypresses and how to do "stuff" with those keypresses.
Thanks.
edit: I know it is connected and working somewhat because if i "cat /dev/input/event1" i see something when i press buttons.
Last edited by actmnophn; 03-10-2014 at 09:01 PM.
|