lkml.org 
[lkml]   [1999]   [May]   [22]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: Keyboard
> 	From: Android <android@cyborg.ansa.dynip.com>
>
> How can you get an application to recognize those special Windows keys
> that the newer keyboards have (usually where the CTRL/ALT keys are)?
>
> man loadkeys
>
> My keyboard also has a special set of Internet keys, used for browser
> functions. Is there any way to get an app to see these as well? They don't
> generate scan codes, at least, not that I can determine.
>
> If they don't do anything I am afraid they won't be very useful.

Actually, they send out keycodes (Kinda obvious, if they didn't windoze
coudn't us them either.

On debian in /etc/kbd, I added this to default.map.gz:
keycode 125 = Last_Console
keycode 126 = Decr_Console
keycode 127 = Incr_Console

125 = left window key
126 = right window key
127 = menu key

In X I have these keys setup differently. right window key is another 'alt'
key. the left window key is front/back (ie: sun), the menu key is just
that, the root menu.

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2005-03-22 13:51    [W:0.023 / U:1.600 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site