|
Keyboard - Extra Keys / Custom Binding
Hi all,
I've recently changed my keyboard to a BTC Model 5207 (After spilling stuff on my old one). And basically, its got all these extra buttons on it for browsing, volume control, what have you. I'd like to use the buttons for custom purposes. Is there an easy way to set custom key mappings for this type of thing?
As of right now I have tried using KDE's custom key bindings, which are supposed to be somewhere in the control center...but I'm not finding. When I "cat /dev/input/event1", it is spitting out ASCII sequences for each of the buttons, so I know they work.
I tried to write a little program to read the "event1" stream and just recognize the sequences accordingly, but I've had limited to no success doing that. I also have a feeling that something somewhere in Linux already exists that will help me do this without reinventing the wheel.
Any suggestions? If anyone has accomplished similar custom key bindings before, I'd really appreciate the input.
Thanks in advance!
|