Subject: Re: Additional keys
To: Greywolf <greywolf@starwolf.com>
From: Andreas Lohrum <Andreas.Lohrum@tngtech.com>
List: port-i386
Date: 04/08/2002 22:18:13
greywolf@starwolf.com (Greywolf) writes:

> For wscons, I'm not sure what to make of it.
> 
> For X, you need to do this:
> 
> - man xmodmap(1X) and xev(1X).
> - run xev and see what keycodes come up for the keys.
> - if no keysyms come up to match the keys, you will need to look at the
>   keysyms listed in /usr/X11R6/include/X11/XF86keysym.h and start
>   mapping some of the unused ones to keycodes via xmodmap.
> - bind the keys to functions in your window manager, as X does not
>   typically do direct event handling.

I just modified my xmodmap like this

keycode 118 = 1
keycode 119 = 2
keycode 120 = 3
keycode 121 = 4
keycode 122 = 5
 ...
keycode 252 = 5
keycode 253 = 6
keycode 254 = 7
keycode 255 = 8

but xev doesn't show any keypress. xmodmap -pke  shows these bindings.
Any other ideas?

Thanks 
Andreas