Subject: Re: mapping keys
To: Wenchi Liao <wliao@midway.uchicago.edu>
From: Chris Jones <cjones@rupert.honors.montana.edu>
List: netbsd-help
Date: 06/24/1999 10:27:42
>>>>> "Wenchi" == Wenchi Liao <wliao@midway.uchicago.edu> writes:

Wenchi> I'm using one of those windows keyboards with netbsd
Wenchi> 1.4/i386. Using xev, pressing the ``windows'' key or the
Wenchi> ``menu'' key generates the output listed below (same general
Wenchi> output for both menu and windows keys).

The important thing is the keycode given below.  I would use xmodmap
to map the keycode to a given keysym.  I don't remember exactly how to
do it, but the xmodmap(1) man page ought to explain it.

Wenchi> KeyPress event, serial 21, synthetic NO, window 0x3c00001,
Wenchi> root 0x26, subw 0x3c00002, time 2527091882, (34,50),
Wenchi> root:(817,225), state 0x0, keycode 115 (keysym 0x0, NoSymbol),
Wenchi> same_screen YES, XLookupString gives 0 characters:  ""

Chris

-- 
-----------------------------------------------------cjones@math.montana.edu
Chris Jones                                          cjones@honors.montana.edu
           Mad scientist at large                    cjones@nervana.montana.edu
"Is this going to be a stand-up programming session, sir, or another bug hunt?"