View Single Post

   
  #4 (permalink)  
Old 01-18-2008, 06:21 AM
Gordon Torrie
 
Posts: n/a
Default Re: How to map weird keyboard keys to arbitrary actions?

Steve Mading wrote:
>
> Okay, so I recently got one of those new keyboards that has all
> sorts of weird proprietary extra keys on it, marked with things
> on them like "e-mail" and "favorites" and so on. With the vendor-
> supplied driver, these do things in Windows, but of course they
> don't do anything with the generic keyboard driver for linux. I
> know that in theory I can figure out what the key codes are that are
> sent when I press them. The question I have is, does there exist
> some sort of method in linux for watching the keyboard globally,
> and reacting to certain keycodes with global actions I can define
> arbitrarily?


Yes.
I see Andy Fraser has given you some ideas on how to do this in
X-windows (something I know nothing about) so I'll tell you what
to look at if you want to do this at the console.

man showkeys
man dumpkeys
man loadkeys
man keymaps

Gord Torrie

----== Posted via Newsfeeds.Com - Unlimited-Uncensored-Secure Usenet News==----
http://www.newsfeeds.com The #1 Newsgroup Service in the World! 120,000+ Newsgroups
----= East and West-Coast Server Farms - Total Privacy via Encryption =----
Reply With Quote