Subject: Re: mapping keys
To: Wenchi Liao <wliao@midway.uchicago.edu>
From: Michael Richardson <mcr@sandelman.ottawa.on.ca>
List: netbsd-help
Date: 06/24/1999 15:53:31
>>>>> "Wenchi" == Wenchi Liao <wliao@midway.uchicago.edu> writes:
Wenchi> Chris Jones wrote:
>>>>>>> "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 ``menu''
Wenchi> key generates the output listed below (same general output for
Wenchi> 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> Blurp...should study the examples more carefully....
Wenchi> So, my $HOME/.xmodmap file contains: keycode 115=Meta_L keycode
Wenchi> 116=Meta_R keycode 117=Escape
Wenchi> ...which maps to the left windows key, right windows key, and
Wenchi> menu key.
Does this work when you have the XKeyboard Extension enabled?
] Train travel features AC outlets with no take-off restrictions| firewalls [
] Michael Richardson, Sandelman Software Works, Ottawa, ON |net architect[
] mcr@sandelman.ottawa.on.ca http://www.sandelman.ottawa.on.ca/ |device driver[
] panic("Just another NetBSD/notebook using, kernel hacking, security guy"); [