Subject: Re: Mapping Mouse Buttons To Keys
To: Curt Sampson <cjs@cynic.net>
From: Chris Pinnock <cjep@fawlty.net>
List: netbsd-users
Date: 09/05/2003 18:44:42
On Thu, Sep 04, 2003 at 06:11:02PM +0900, Curt Sampson wrote:
> 
> I'd like to take a couple of extra mouse buttons I have (numbers 6 and
> 7, which appear fine when I run xev) and map them to some keyboard keys.
> Anybody know how I can do this?
>

This is what I do for my Windows key on my keyboard. Take the keycode 
value from xev and do an xmodmap.

xmodmap -e "keycode 117 = F22"

I map the key to F22 and reference that in my window manager config.
(In my case, bring up a menu.)