Subject: Re: Additional keys
To: Greywolf <greywolf@starwolf.com>
From: Juergen Hannken-Illjes <hannken@eis.cs.tu-bs.de>
List: port-i386
Date: 04/08/2002 21:54:28
For wscons you may map any character including function keys and
command keys. It is not possible to map a single key to an arbitrary
string. You need the scancodes of the keys in question to
modify your keyboard map (wsconsctl -w map+='keycode <num> = ...).
On Mon, Apr 08, 2002 at 12:38:22PM -0700, Greywolf wrote:
> 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.
>
>
> On Mon, 8 Apr 2002, Andreas Lohrum wrote:
>
> # Hi,
> #
> # I have a notebook with four additional keys for fast access of mail,
> # browser, etc.
> #
> # How to access these keys, is a special keymap required?
> # Support is needed for wscons an XF4.0.2.
> #
> # Thanks for hints
> #
> # Andreas
>
> --*greywolf;
> --
> "I didn't get where I am today without using NetBSD."
>
--
Juergen Hannken-Illjes - hannken@eis.cs.tu-bs.de - TU Braunschweig (Germany)