Re: Jornada 680 keyboard mapping

"Valeriy E. Ushakov" <[email protected]>
Newsgroups gmane.os.netbsd.ports.hpcsh
Message-ID <[email protected]>
On Sun, Jun 26, 2005 at 22:14:06 -0400, Michael Wileman wrote:

> I have hpcsh working pretty well now, except for the keyboard mapping. 
> I have the European English keyboard, but cannot find the correct 
> wsconsctl encoding for it. Can anyone tell me what I have to do to 
> get the correct encoding?

My fault.  I didn't bother to put all the AltGr characters into the
kernel map:

/*
 * XXX: Add AltGr layer for #ABB here?  OTOH, all the keys necessary
 * for basic actions in DDB or shell are on the primary layer, so it
 * makes sense to support AltGr via wsconsctl(8) instead, as the same
 * primary layer is used e.g. in Russian models.  But it does make
 * sense to define the <AltGr> key itself here, as we base this layout
 * on KB_US that defines it as the right <Alt>.
 */


You can write your own keymap and load it via /etc/wscons.conf mapfile
directive.

keycode   2 = 1 exclam exclamdown
keycode   3 = 2 at twosuperior
keycode   4 = 3 numbersign threesuperior
...


SY, Uwe
-- 
[email protected]                         |       Zu Grunde kommen
http://www.ptc.spbu.ru/~uwe/            |       Ist zu Grunde gehen
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.