Subject: Re: Additional keys
To: Andreas Lohrum <Andreas.Lohrum@tngtech.com>
From: Greywolf <greywolf@starwolf.com>
List: port-i386
Date: 04/08/2002 13:27:25
Don't start randomly allocating mappings to the keys until you get xev
results on them; i.e., run xev first.


On 8 Apr 2002, Andreas Lohrum wrote:

# Date: 08 Apr 2002 22:18:13 +0200
# From: Andreas Lohrum <Andreas.Lohrum@tngtech.com>
# To: Greywolf <greywolf@starwolf.com>
# Cc: port-i386@netbsd.org
# Subject: Re: Additional keys
#
# 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
#


				--*greywolf;
--
NetBSD: The Last Bastion of the true UNIX Religion.