History log of /netbsd-current/sys/dev/wscons/wsksymdef.h
Revision (<<< Hide revision tags) (Show revision tags >>>) Date Author Comments
# 1.78 11-Dec-2023 mlelstv

Adjust next key value (it's not used anywhere).


Revision tags: thorpej-ifq-base thorpej-altq-separation-base netbsd-10-0-RC1 netbsd-10-base bouyer-sunxi-drm-base
# 1.77 22-Sep-2021 nia

wscons: add definitions for B��PO, a standardized, Dvorak-style optimized
keyboard layout for French


Revision tags: thorpej-i2c-spi-conf2-base thorpej-futex2-base thorpej-cfargs2-base cjep_sun2x-base1 cjep_sun2x-base cjep_staticlib_x-base1 thorpej-i2c-spi-conf-base
# 1.76 11-May-2021 nia

wscons: add support for the Neo 2 German keyboard layout

Neo is an optimized layout for German and English, similar to
Dvorak for English. It can be used to type most Latin-based languages
and has separate layers for symbols and directional commands.


Revision tags: cjep_staticlib_x-base thorpej-cfargs-base thorpej-futex-base
# 1.75 17-Oct-2020 mlelstv

branches: 1.75.6; 1.75.8;
Correct KB_NEXT value. No impact since KB_NEXT isn't used anywhere.


# 1.74 29-Aug-2020 macallan

provide KB_APPLE layout variant which uses Command-F* to switch console screens
mostly for consistent behaviour across *Books which may have ADB or USB
keyboards


# 1.73 13-Jul-2020 nia

Clarify that KB_TR is the "Q" layout - there's two standards for Turkish.


# 1.72 13-Jul-2020 nia

Canadian French keyboard layout for ukbd/pckbd


# 1.71 13-Jul-2020 nia

Add keyboard layout for Latin American Spanish to ukbd/pckbd


# 1.70 12-Jul-2020 nia

Add Icelandic keyboard layout to ukbd/pckbd.


# 1.69 12-Jul-2020 nia

Add Estonian layout as a variation of Swedish for ukbd and pckbd


# 1.68 12-Jul-2020 nia

Add support for the Brazilian keyboard layout to pckbd and ukbd.

This is significantly different from the European Portugese layout,
and was pieced together from Wikipedia, X11 layout files, and to
some extent with trial and error.

Thanks to lun-4 for helping test this.

PR kern/44570


Revision tags: bouyer-xenpvh-base2 phil-wifi-20200421 bouyer-xenpvh-base1 phil-wifi-20200411 bouyer-xenpvh-base is-mlppp-base phil-wifi-20200406 ad-namecache-base3 netbsd-9-0-RELEASE netbsd-9-0-RC2 ad-namecache-base2 ad-namecache-base1 ad-namecache-base netbsd-9-0-RC1 phil-wifi-20191119 netbsd-9-base phil-wifi-20190609 isaki-audio2-base pgoyette-compat-merge-20190127 pgoyette-compat-20190127 pgoyette-compat-20190118 pgoyette-compat-1226 pgoyette-compat-1126 pgoyette-compat-1020 pgoyette-compat-0930 pgoyette-compat-0906 jdolecek-ncqfixes-base pgoyette-compat-0728 phil-wifi-base pgoyette-compat-0625 pgoyette-compat-0521 pgoyette-compat-0502 pgoyette-compat-0422 pgoyette-compat-0415 pgoyette-compat-0407 pgoyette-compat-0330 pgoyette-compat-0322 pgoyette-compat-0315 pgoyette-compat-base
# 1.67 19-Feb-2018 maya

branches: 1.67.10;
Add Turkish keyboard layout.

from berte in PR kern/53011.


Revision tags: netbsd-7-2-RELEASE netbsd-7-1-2-RELEASE netbsd-7-1-1-RELEASE tls-maxphys-base-20171202 matt-nb8-mediatek-base nick-nhusb-base-20170825 perseant-stdc-iso10646-base netbsd-8-base prg-localcount2-base3 prg-localcount2-base2 prg-localcount2-base1 prg-localcount2-base pgoyette-localcount-20170426 bouyer-socketcan-base1 jdolecek-ncq-base pgoyette-localcount-20170320 netbsd-7-1-RELEASE netbsd-7-1-RC2 nick-nhusb-base-20170204 netbsd-7-nhusb-base-20170116 bouyer-socketcan-base pgoyette-localcount-20170107 netbsd-7-1-RC1 nick-nhusb-base-20161204 pgoyette-localcount-20161104 netbsd-7-0-2-RELEASE nick-nhusb-base-20161004 localcount-20160914 netbsd-7-nhusb-base pgoyette-localcount-20160806 pgoyette-localcount-20160726 pgoyette-localcount-base nick-nhusb-base-20160907 nick-nhusb-base-20160529 netbsd-7-0-1-RELEASE nick-nhusb-base-20160422 nick-nhusb-base-20160319 nick-nhusb-base-20151226 netbsd-7-0-RELEASE nick-nhusb-base-20150921 netbsd-7-0-RC3 netbsd-7-0-RC2 netbsd-7-0-RC1 nick-nhusb-base-20150606 nick-nhusb-base-20150406 nick-nhusb-base netbsd-7-base yamt-pagecache-base9 tls-earlyentropy-base riastradh-xf86-video-intel-2-7-1-pre-2-21-15 riastradh-drm2-base3 rmind-smpnet-nbase riastradh-drm2-base2 riastradh-drm2-base1 riastradh-drm2-base rmind-smpnet-base agc-symver-base yamt-pagecache-base8 yamt-pagecache-base7 yamt-pagecache-base6 tls-maxphys-base jmcneill-usbmp-base10 yamt-pagecache-base5 jmcneill-usbmp-base9
# 1.66 22-Apr-2012 khorben

branches: 1.66.32;
Implemented extra keys as found on Sun Type 7 USB keyboards, and
according to the documentation mentioned above in this file.

"works here" macallan@, myself


Revision tags: netbsd-6-0-6-RELEASE netbsd-6-1-5-RELEASE netbsd-6-1-4-RELEASE netbsd-6-0-5-RELEASE netbsd-6-1-3-RELEASE netbsd-6-0-4-RELEASE netbsd-6-1-2-RELEASE netbsd-6-0-3-RELEASE netbsd-6-1-1-RELEASE netbsd-6-0-2-RELEASE netbsd-6-1-RELEASE netbsd-6-1-RC4 netbsd-6-1-RC3 netbsd-6-1-RC2 netbsd-6-1-RC1 netbsd-6-0-1-RELEASE matt-nb6-plus-nbase netbsd-6-0-RELEASE netbsd-6-0-RC2 matt-nb6-plus-base netbsd-6-0-RC1 yamt-pagecache-base4 jmcneill-usbmp-base8 jmcneill-usbmp-base7 jmcneill-usbmp-base6 jmcneill-usbmp-base5 jmcneill-usbmp-base4 jmcneill-usbmp-base3 jmcneill-usbmp-pre-base2 jmcneill-usbmp-base2 netbsd-6-base jmcneill-usbmp-base jmcneill-audiomp3-base yamt-pagecache-base3 yamt-pagecache-base2 yamt-pagecache-base
# 1.65 22-Jul-2011 christos

branches: 1.65.2; 1.65.6;
PR/35473: Wigcher Spanninga: Add Dutch keyboard support to wscons


Revision tags: rmind-uvmplock-nbase cherry-xenmp-base bouyer-quota2-nbase bouyer-quota2-base jruoho-x86intr-base matt-mips64-premerge-20101231 uebayasi-xip-base4 uebayasi-xip-base3 yamt-nfs-mp-base11 uebayasi-xip-base2 yamt-nfs-mp-base10 uebayasi-xip-base1 rmind-uvmplock-base yamt-nfs-mp-base9 uebayasi-xip-base
# 1.64 28-Jan-2010 drochner

-rename the "KS_GROUP_Ascii" key symbol category to "Plain" because
this is what it meant all the time -- it includes characters >127
-delegate translation of all key symbols >127 to the terminal emulation
layer -- formerly everything non-special was passed to the tty subsystem
directly, involving truncation to a "char", which effectively meant
some ISO-1 assumption


Revision tags: matt-premerge-20091211 yamt-nfs-mp-base8 yamt-nfs-mp-base7 jymxensuspend-base yamt-nfs-mp-base6 yamt-nfs-mp-base5 yamt-nfs-mp-base4 jym-xensuspend-nbase yamt-nfs-mp-base3 nick-hppapmap-base4 nick-hppapmap-base3 jym-xensuspend-base nick-hppapmap-base
# 1.63 06-Apr-2009 mkirby

Add a Czech (QWERTY) keyboard layout, and teach wscons about latin 2 characters.

Original code from Lubomir Kundrak, adapted to current and cleaned up by me.

Fixes PR kern/16216

ok agc@ jdc@


Revision tags: nick-hppapmap-base2
# 1.62 18-Feb-2009 snj

s/portugese/portuguese/, spotted by Ari Constancio in PR misc/40202.


Revision tags: netbsd-5-0-2-RELEASE matt-nb5-mips64-premerge-20091211 matt-nb5-mips64-u2-k2-k4-k7-k8-k9 matt-nb4-mips64-k7-u2a-k9b matt-nb5-mips64-u1-k1-k5 netbsd-5-0-1-RELEASE netbsd-5-0-RELEASE netbsd-5-0-RC4 netbsd-5-0-RC3 netbsd-5-0-RC2 netbsd-5-0-RC1 haad-dm-base2 haad-nbase2 ad-audiomp2-base netbsd-5-base matt-mips64-base2 haad-dm-base1 wrstuden-revivesa-base-4 wrstuden-revivesa-base-3 wrstuden-revivesa-base-2 haad-dm-base wrstuden-revivesa-base-1 simonb-wapbl-nbase yamt-pf42-base4 simonb-wapbl-base yamt-pf42-base3 wrstuden-revivesa-base mjf-devfs2-base
# 1.61 21-May-2008 ghen

branches: 1.61.6; 1.61.8; 1.61.12; 1.61.14; 1.61.16;
Add support for the Colemak keyboard layout variant, see http://colemak.com


Revision tags: hpcarm-cleanup-nbase yamt-pf42-base2 yamt-nfs-mp-base2
# 1.60 28-Apr-2008 martin

branches: 1.60.2;
Remove clause 3 and 4 from TNF licenses


Revision tags: yamt-pf42-baseX yamt-nfs-mp-base yamt-pf42-base ad-socklock-base1 yamt-lazymbuf-base15 yamt-lazymbuf-base14 keiichi-mipv6-nbase nick-net80211-sync-base keiichi-mipv6-base bouyer-xeni386-merge1 vmlocking2-base3 bouyer-xeni386-nbase yamt-kmem-base3 cube-autoconf-base yamt-kmem-base2 bouyer-xeni386-base matt-armv6-nbase mjf-devfs-base matt-armv6-base hpcarm-cleanup-base
# 1.59 09-Dec-2007 jmcneill

branches: 1.59.10; 1.59.12; 1.59.14;
Merge jmcneill-pm branch.


Revision tags: nick-csl-alignment-base5 matt-armv6-prevmlocking yamt-kmem-base vmlocking2-base2 reinoud-bufcleanup-nbase vmlocking2-base1 jmcneill-base bouyer-xenamd64-base2 vmlocking-nbase yamt-x86pmap-base4 bouyer-xenamd64-base yamt-x86pmap-base3 yamt-x86pmap-base2 yamt-x86pmap-base matt-mips64-base jmcneill-pm-base nick-csl-alignment-base yamt-idlelwp-base8 thorpej-atomic-base reinoud-bufcleanup-base mjf-ufs-trans-base vmlocking-base
# 1.58 04-Apr-2007 mishka

branches: 1.58.8; 1.58.10; 1.58.18; 1.58.20;
Revert previous commit until further investigation because it is
known as problematic. Some problems obscured are dead Del key (I
can reproduce this with wscons scroll support) and panic (seen by
<elad> only).


# 1.57 02-Apr-2007 mishka

Implement locking switcher for alternative layots (many languages
are based on completely different alphabet, and typesetting with
one of modifiers pressed all the time is just a PITA). See
http://mail-index.netbsd.org/tech-kern/2007/03/29/0002.html for
usage details.

While here, perform the following small cleanups:
- KS_Cmd_Scroll* execution should be explicitly interrupted with 'break'.
- Some 'human' cleanups in ksym extraction algorithm (no func. changes).
- Add a note: implemented ksym translation isn't sufficient for l10n.


Revision tags: netbsd-4-0-1-RELEASE wrstuden-fixsa-base-1 netbsd-4-0-RELEASE netbsd-4-0-RC5 matt-nb4-arm-base netbsd-4-0-RC4 netbsd-4-0-RC3 netbsd-4-0-RC2 netbsd-4-0-RC1 ad-audiomp-base post-newlock2-merge newlock2-nbase yamt-splraiseipl-base5 yamt-splraiseipl-base4 yamt-splraiseipl-base3 abandoned-netbsd-4-base yamt-splraiseipl-base2 yamt-splraiseipl-base yamt-pdpolicy-base9 newlock2-base yamt-pdpolicy-base8 yamt-pdpolicy-base7 netbsd-4-base yamt-pdpolicy-base6 chap-midi-nbase gdamore-uart-base yamt-pdpolicy-base5 chap-midi-base yamt-pdpolicy-base4 elad-kernelauth-base simonb-timecounters-base rpaulo-netinet-merge-pcb-base
# 1.56 01-Apr-2006 christos

branches: 1.56.12; 1.56.20; 1.56.24;
Greek console keymap from Eye of the Beholder


Revision tags: yamt-pdpolicy-base3 peter-altq-base yamt-pdpolicy-base2 yamt-pdpolicy-base yamt-uio_vmspace-base5
# 1.55 11-Dec-2005 christos

branches: 1.55.4; 1.55.6; 1.55.8; 1.55.10; 1.55.12;
merge ktrace-lwp.


Revision tags: yamt-readahead-base3 yamt-readahead-base2 yamt-readahead-pervnode yamt-readahead-perfile yamt-readahead-base yamt-vop-base3 yamt-vop-base2 thorpej-vnode-attr-base yamt-vop-base ktrace-lwp-base
# 1.54 08-Jun-2005 martin

branches: 1.54.2;
Add a key symbol for the "Power" key.


# 1.53 30-Apr-2005 augustss

Remember what keyboard layout is set in the mux, that way new keyboards
can be given the same layout. Fixes kern/19153.


Revision tags: kent-audio2-base
# 1.52 04-Apr-2005 martti

s/Finish/Finnish/


Revision tags: yamt-km-base4 yamt-km-base3 netbsd-3-base
# 1.51 08-Mar-2005 dsl

branches: 1.51.2;
Change the wa ythe KB_xxx and KB_ENCTAB are defined so we have all the
data for a single keyboard on one line - including the long name and
default modifiers that sysinst needs.


Revision tags: yamt-km-base2 yamt-km-base kent-audio1-beforemerge kent-audio1-base
# 1.50 02-Dec-2004 hubertf

branches: 1.50.4; 1.50.6;
Try to document keymap names - this really a trip into the obscure.
XXX someone please review!


# 1.49 28-May-2004 christos

PR/19925: David Ferlier: Add scrolling support to wscons.


# 1.48 13-May-2004 pooka

Add el-cheapo finnish encoding, i.e. make the name "fi" point to
the swedish keymap, which actually gets set.

inspired by wiz
keymap name blessed by Klaus


Revision tags: netbsd-2-0-base nathanw_sa_before_merge fvdl_fs64_base gmcgarry_ctxsw_base gmcgarry_ucred_base nathanw_sa_base
# 1.47 25-Nov-2002 fvdl

branches: 1.47.6; 1.47.8;
Add 'U' to 16-bit hex constants to stop gcc 3.3 from complaining. Shouldn't
really be needed, but.. (from scw and thorpej).


# 1.46 25-Oct-2002 martin

Add a few symbols.


Revision tags: netbsd-1-6-PATCH002-RELEASE netbsd-1-6-PATCH002 netbsd-1-6-PATCH002-RC4 netbsd-1-6-PATCH002-RC3 netbsd-1-6-PATCH002-RC2 netbsd-1-6-PATCH002-RC1 netbsd-1-6-PATCH001 netbsd-1-6-PATCH001-RELEASE netbsd-1-6-PATCH001-RC3 netbsd-1-6-PATCH001-RC2 netbsd-1-6-PATCH001-RC1 kqueue-aftermerge kqueue-beforemerge netbsd-1-6-RELEASE netbsd-1-6-RC3 netbsd-1-6-RC2 netbsd-1-6-RC1 netbsd-1-6-base gehenna-devsw-base kqueue-base
# 1.45 23-Apr-2002 hannken

Remove the cyrillic keysyms. This was not done the right way.
Will come back after 1.6 has branched.

Approved by: Matthias Drochner <drochner@netbsd.org>


# 1.44 24-Mar-2002 uwe

Sync most Cyrillic names with X11 keysym names.


Revision tags: eeh-devprop-base
# 1.43 17-Mar-2002 augustss

Add Cyrillic keysyms. From OpenBSD.


# 1.42 17-Mar-2002 augustss

Don't forget the symbolc names for the keymaps.


# 1.41 17-Mar-2002 augustss

Add more language map definitions.


Revision tags: newlock-base ifpoll-base thorpej-mips-cache-base
# 1.40 11-Nov-2001 martin

Add polish keyboard map, from Dawid Szyma_ski <dawszy@netbsd.lubin.pl>.


Revision tags: thorpej-devvp-base3 thorpej-devvp-base2 post-chs-ubcperf pre-chs-ubcperf thorpej-devvp-base thorpej_scsipi_beforemerge thorpej_scsipi_nbase thorpej_scsipi_base
# 1.39 05-Dec-2000 drochner

branches: 1.39.2; 1.39.4; 1.39.8;
add some missing definitions for hungarian keymap support
(It won't help much since there is no way to get characters not in
iso-1 or the function key set through the vt100/sun/dumb terminal
emulations:-(


# 1.38 13-Oct-2000 mjl

Revert previous since the finnish keymap is already present under
the name "sv". Note to myself: Read PRs completely before acting.
Note to Santa Claus: I want a mailing list that carries all follow
ups to PRs!


# 1.37 12-Oct-2000 mjl

Add finnish keymap, from Heikki Kallasjoki in PR/11186.


# 1.36 01-Oct-2000 takemura

- Add ioctl commands to wsdisplay which set/get some LCD status,
backlight, brightness and contrast.
- Add 9 command key symbols which make wskbd to call wsdisplay's
iocontrol.
- Add special key map variant KB_MACHDEP. This variant does not
have any real keymap but it's just a placeholder for machine dependent
maps which will be overwrite by machine dependent keyboard driver.


# 1.35 06-Jul-2000 hannken

Change type `kbd_t' from `u_int_16_t' to `u_int32_t'.
This eliminates bogus casts from `int *' to `u_int_16_t*'.


Revision tags: netbsd-1-5-base minoura-xpg4dl-base
# 1.34 19-May-2000 drochner

branches: 1.34.4;
define spanish keymap


# 1.33 13-May-2000 bjh21

Oops. Swedish is KB_SV.


# 1.32 13-May-2000 bjh21

Add keypad-# and Swedish layout


# 1.31 14-Apr-2000 tsarna

Add an "iopener" keymap variant, giving us.iopener and
us.iopener.swapctrlcaps. This makes F1 ("Back") into Escape, and shifts
the other keys over by one, so F2-F12 ("Forward"-"Home") become F1-F11.


# 1.30 19-Mar-2000 tsarna

Make clearer. IMHO, all of this code should stop referring to Control-L
and Control-R, since those suggest ^L and ^R, not Left and Right Control.


# 1.29 19-Mar-2000 tsarna

Correct a comment


# 1.28 05-Mar-2000 soren

Add Norwegian keymap from Haavard Lygre.


Revision tags: chs-ubc2-newbase wrstuden-devbsize-19991221 wrstuden-devbsize-base
# 1.27 21-Dec-1999 drochner

introduce a METAESC keyboard variant bit


Revision tags: fvdl-softdep-base
# 1.26 10-Nov-1999 drochner

allow to set multiple keyboard "variants" simultanously.
Follows PR kern/8456 by Michael Eriksson <eramore@era-t.ericsson.se>,
implemented diffently.


Revision tags: comdex-fall-1999-base chs-ubc2-base
# 1.25 11-May-1999 drochner

branches: 1.25.2; 1.25.4; 1.25.8;
define swedish layout and "dvorak" variant


Revision tags: kame_141_19991130 netbsd-1-4-PATCH001 kame_14_19990705 kame_14_19990628 netbsd-1-4-RELEASE netbsd-1-4-base
# 1.24 12-Feb-1999 drochner

branches: 1.24.2; 1.24.4;
"NEXT" is a keyboard type, not a keymap variation.


# 1.23 28-Jan-1999 dbj

wscons based console video & keyboard support for the NeXT
from Matt DeBergalis


# 1.22 23-Jan-1999 drochner

add definitions for the additional modifiers on japanese keyboards
(These are not of use for wscons, but we want to give names to the keys
at least.)


# 1.21 17-Jan-1999 drochner

define a "close everything" keyboard command


# 1.20 15-Jan-1999 drochner

add definition for japanese keyboard


# 1.19 14-Jan-1999 drochner

add a "reset terminal emulator" command pseudo-keysym and call the
corresponding callback if one is hit


# 1.18 10-Jan-1999 augustss

Rename the "windows" keys and add the new keys to the keyboard maps.


# 1.17 10-Jan-1999 augustss

Add definitions for Pause and Print_Screen keys.
(Why were these keys missing? Or am I missing something obvious here?)


# 1.16 10-Jan-1999 augustss

Add definitions for left and right "Windows" keys and menu key.


# 1.15 09-Jan-1999 drochner

add a definition for the "swap ctl and caps" option


# 1.14 06-Jan-1999 drochner

add definition for british keyboard


# 1.13 28-Dec-1998 hannken

Prepare for wsconsctrl:
- clean up keycode defines.
- allow easy parse of wsksymdef.h.
- add misssing KB_IT entry.
- set layout to KB_USER after ioctl WSKBDIO_SETMAP.


Revision tags: kenh-if-detach-base chs-ubc-base
# 1.12 03-Oct-1998 drochner

add definition for french keyboard


# 1.11 17-Sep-1998 drochner

Add option bit which covers the delta between LK201 and LK401.


# 1.10 01-Sep-1998 drochner

add definition for italian keyboard


Revision tags: eeh-paddr_t-base
# 1.9 15-Jul-1998 drochner

rename "LK" -> "declk" for consistency


# 1.8 14-Jul-1998 drochner

support keyboards with PC interface and DEC layout (LK461)


# 1.7 16-Jun-1998 drochner

add missing keys for vt100


# 1.6 20-Apr-1998 hannken

Undo change from drochner (Rev 1.4 of wsksymdef.h) and fix PR #5298 and #5299.


# 1.5 18-Apr-1998 drochner

Add danish keymap.
From Soren S. Jorvang (PR kern/5312).


# 1.4 16-Apr-1998 drochner

Don't use KS_GROUP_xxx values which have set something in the lower
8 bits. This allows to OR them with keycodes.
This is probably a workaround for namespace confusion happening else-
where (in wskbdutil.c:ksym_upcase() perhaps?), but it helps without
too much digging into the details.


# 1.3 07-Apr-1998 hannken

Fix typo.


# 1.2 07-Apr-1998 hannken

Oops. Forgot RCS ident and copyright.


# 1.1 07-Apr-1998 hannken

Initial import of MI keyboard translation for dev/wscons.


# 1.77 22-Sep-2021 nia

wscons: add definitions for B��PO, a standardized, Dvorak-style optimized
keyboard layout for French


Revision tags: thorpej-i2c-spi-conf2-base thorpej-futex2-base thorpej-cfargs2-base cjep_sun2x-base1 cjep_sun2x-base cjep_staticlib_x-base1 thorpej-i2c-spi-conf-base
# 1.76 11-May-2021 nia

wscons: add support for the Neo 2 German keyboard layout

Neo is an optimized layout for German and English, similar to
Dvorak for English. It can be used to type most Latin-based languages
and has separate layers for symbols and directional commands.


Revision tags: cjep_staticlib_x-base thorpej-cfargs-base thorpej-futex-base
# 1.75 17-Oct-2020 mlelstv

branches: 1.75.6; 1.75.8;
Correct KB_NEXT value. No impact since KB_NEXT isn't used anywhere.


# 1.74 29-Aug-2020 macallan

provide KB_APPLE layout variant which uses Command-F* to switch console screens
mostly for consistent behaviour across *Books which may have ADB or USB
keyboards


# 1.73 13-Jul-2020 nia

Clarify that KB_TR is the "Q" layout - there's two standards for Turkish.


# 1.72 13-Jul-2020 nia

Canadian French keyboard layout for ukbd/pckbd


# 1.71 13-Jul-2020 nia

Add keyboard layout for Latin American Spanish to ukbd/pckbd


# 1.70 12-Jul-2020 nia

Add Icelandic keyboard layout to ukbd/pckbd.


# 1.69 12-Jul-2020 nia

Add Estonian layout as a variation of Swedish for ukbd and pckbd


# 1.68 12-Jul-2020 nia

Add support for the Brazilian keyboard layout to pckbd and ukbd.

This is significantly different from the European Portugese layout,
and was pieced together from Wikipedia, X11 layout files, and to
some extent with trial and error.

Thanks to lun-4 for helping test this.

PR kern/44570


Revision tags: bouyer-xenpvh-base2 phil-wifi-20200421 bouyer-xenpvh-base1 phil-wifi-20200411 bouyer-xenpvh-base is-mlppp-base phil-wifi-20200406 ad-namecache-base3 netbsd-9-0-RELEASE netbsd-9-0-RC2 ad-namecache-base2 ad-namecache-base1 ad-namecache-base netbsd-9-0-RC1 phil-wifi-20191119 netbsd-9-base phil-wifi-20190609 isaki-audio2-base pgoyette-compat-merge-20190127 pgoyette-compat-20190127 pgoyette-compat-20190118 pgoyette-compat-1226 pgoyette-compat-1126 pgoyette-compat-1020 pgoyette-compat-0930 pgoyette-compat-0906 jdolecek-ncqfixes-base pgoyette-compat-0728 phil-wifi-base pgoyette-compat-0625 pgoyette-compat-0521 pgoyette-compat-0502 pgoyette-compat-0422 pgoyette-compat-0415 pgoyette-compat-0407 pgoyette-compat-0330 pgoyette-compat-0322 pgoyette-compat-0315 pgoyette-compat-base
# 1.67 19-Feb-2018 maya

branches: 1.67.10;
Add Turkish keyboard layout.

from berte in PR kern/53011.


Revision tags: netbsd-7-2-RELEASE netbsd-7-1-2-RELEASE netbsd-7-1-1-RELEASE tls-maxphys-base-20171202 matt-nb8-mediatek-base nick-nhusb-base-20170825 perseant-stdc-iso10646-base netbsd-8-base prg-localcount2-base3 prg-localcount2-base2 prg-localcount2-base1 prg-localcount2-base pgoyette-localcount-20170426 bouyer-socketcan-base1 jdolecek-ncq-base pgoyette-localcount-20170320 netbsd-7-1-RELEASE netbsd-7-1-RC2 nick-nhusb-base-20170204 netbsd-7-nhusb-base-20170116 bouyer-socketcan-base pgoyette-localcount-20170107 netbsd-7-1-RC1 nick-nhusb-base-20161204 pgoyette-localcount-20161104 netbsd-7-0-2-RELEASE nick-nhusb-base-20161004 localcount-20160914 netbsd-7-nhusb-base pgoyette-localcount-20160806 pgoyette-localcount-20160726 pgoyette-localcount-base nick-nhusb-base-20160907 nick-nhusb-base-20160529 netbsd-7-0-1-RELEASE nick-nhusb-base-20160422 nick-nhusb-base-20160319 nick-nhusb-base-20151226 netbsd-7-0-RELEASE nick-nhusb-base-20150921 netbsd-7-0-RC3 netbsd-7-0-RC2 netbsd-7-0-RC1 nick-nhusb-base-20150606 nick-nhusb-base-20150406 nick-nhusb-base netbsd-7-base yamt-pagecache-base9 tls-earlyentropy-base riastradh-xf86-video-intel-2-7-1-pre-2-21-15 riastradh-drm2-base3 rmind-smpnet-nbase riastradh-drm2-base2 riastradh-drm2-base1 riastradh-drm2-base rmind-smpnet-base agc-symver-base yamt-pagecache-base8 yamt-pagecache-base7 yamt-pagecache-base6 tls-maxphys-base jmcneill-usbmp-base10 yamt-pagecache-base5 jmcneill-usbmp-base9
# 1.66 22-Apr-2012 khorben

branches: 1.66.32;
Implemented extra keys as found on Sun Type 7 USB keyboards, and
according to the documentation mentioned above in this file.

"works here" macallan@, myself


Revision tags: netbsd-6-0-6-RELEASE netbsd-6-1-5-RELEASE netbsd-6-1-4-RELEASE netbsd-6-0-5-RELEASE netbsd-6-1-3-RELEASE netbsd-6-0-4-RELEASE netbsd-6-1-2-RELEASE netbsd-6-0-3-RELEASE netbsd-6-1-1-RELEASE netbsd-6-0-2-RELEASE netbsd-6-1-RELEASE netbsd-6-1-RC4 netbsd-6-1-RC3 netbsd-6-1-RC2 netbsd-6-1-RC1 netbsd-6-0-1-RELEASE matt-nb6-plus-nbase netbsd-6-0-RELEASE netbsd-6-0-RC2 matt-nb6-plus-base netbsd-6-0-RC1 yamt-pagecache-base4 jmcneill-usbmp-base8 jmcneill-usbmp-base7 jmcneill-usbmp-base6 jmcneill-usbmp-base5 jmcneill-usbmp-base4 jmcneill-usbmp-base3 jmcneill-usbmp-pre-base2 jmcneill-usbmp-base2 netbsd-6-base jmcneill-usbmp-base jmcneill-audiomp3-base yamt-pagecache-base3 yamt-pagecache-base2 yamt-pagecache-base
# 1.65 22-Jul-2011 christos

branches: 1.65.2; 1.65.6;
PR/35473: Wigcher Spanninga: Add Dutch keyboard support to wscons


Revision tags: rmind-uvmplock-nbase cherry-xenmp-base bouyer-quota2-nbase bouyer-quota2-base jruoho-x86intr-base matt-mips64-premerge-20101231 uebayasi-xip-base4 uebayasi-xip-base3 yamt-nfs-mp-base11 uebayasi-xip-base2 yamt-nfs-mp-base10 uebayasi-xip-base1 rmind-uvmplock-base yamt-nfs-mp-base9 uebayasi-xip-base
# 1.64 28-Jan-2010 drochner

-rename the "KS_GROUP_Ascii" key symbol category to "Plain" because
this is what it meant all the time -- it includes characters >127
-delegate translation of all key symbols >127 to the terminal emulation
layer -- formerly everything non-special was passed to the tty subsystem
directly, involving truncation to a "char", which effectively meant
some ISO-1 assumption


Revision tags: matt-premerge-20091211 yamt-nfs-mp-base8 yamt-nfs-mp-base7 jymxensuspend-base yamt-nfs-mp-base6 yamt-nfs-mp-base5 yamt-nfs-mp-base4 jym-xensuspend-nbase yamt-nfs-mp-base3 nick-hppapmap-base4 nick-hppapmap-base3 jym-xensuspend-base nick-hppapmap-base
# 1.63 06-Apr-2009 mkirby

Add a Czech (QWERTY) keyboard layout, and teach wscons about latin 2 characters.

Original code from Lubomir Kundrak, adapted to current and cleaned up by me.

Fixes PR kern/16216

ok agc@ jdc@


Revision tags: nick-hppapmap-base2
# 1.62 18-Feb-2009 snj

s/portugese/portuguese/, spotted by Ari Constancio in PR misc/40202.


Revision tags: netbsd-5-0-2-RELEASE matt-nb5-mips64-premerge-20091211 matt-nb5-mips64-u2-k2-k4-k7-k8-k9 matt-nb4-mips64-k7-u2a-k9b matt-nb5-mips64-u1-k1-k5 netbsd-5-0-1-RELEASE netbsd-5-0-RELEASE netbsd-5-0-RC4 netbsd-5-0-RC3 netbsd-5-0-RC2 netbsd-5-0-RC1 haad-dm-base2 haad-nbase2 ad-audiomp2-base netbsd-5-base matt-mips64-base2 haad-dm-base1 wrstuden-revivesa-base-4 wrstuden-revivesa-base-3 wrstuden-revivesa-base-2 haad-dm-base wrstuden-revivesa-base-1 simonb-wapbl-nbase yamt-pf42-base4 simonb-wapbl-base yamt-pf42-base3 wrstuden-revivesa-base mjf-devfs2-base
# 1.61 21-May-2008 ghen

branches: 1.61.6; 1.61.8; 1.61.12; 1.61.14; 1.61.16;
Add support for the Colemak keyboard layout variant, see http://colemak.com


Revision tags: hpcarm-cleanup-nbase yamt-pf42-base2 yamt-nfs-mp-base2
# 1.60 28-Apr-2008 martin

branches: 1.60.2;
Remove clause 3 and 4 from TNF licenses


Revision tags: yamt-pf42-baseX yamt-nfs-mp-base yamt-pf42-base ad-socklock-base1 yamt-lazymbuf-base15 yamt-lazymbuf-base14 keiichi-mipv6-nbase nick-net80211-sync-base keiichi-mipv6-base bouyer-xeni386-merge1 vmlocking2-base3 bouyer-xeni386-nbase yamt-kmem-base3 cube-autoconf-base yamt-kmem-base2 bouyer-xeni386-base matt-armv6-nbase mjf-devfs-base matt-armv6-base hpcarm-cleanup-base
# 1.59 09-Dec-2007 jmcneill

branches: 1.59.10; 1.59.12; 1.59.14;
Merge jmcneill-pm branch.


Revision tags: nick-csl-alignment-base5 matt-armv6-prevmlocking yamt-kmem-base vmlocking2-base2 reinoud-bufcleanup-nbase vmlocking2-base1 jmcneill-base bouyer-xenamd64-base2 vmlocking-nbase yamt-x86pmap-base4 bouyer-xenamd64-base yamt-x86pmap-base3 yamt-x86pmap-base2 yamt-x86pmap-base matt-mips64-base jmcneill-pm-base nick-csl-alignment-base yamt-idlelwp-base8 thorpej-atomic-base reinoud-bufcleanup-base mjf-ufs-trans-base vmlocking-base
# 1.58 04-Apr-2007 mishka

branches: 1.58.8; 1.58.10; 1.58.18; 1.58.20;
Revert previous commit until further investigation because it is
known as problematic. Some problems obscured are dead Del key (I
can reproduce this with wscons scroll support) and panic (seen by
<elad> only).


# 1.57 02-Apr-2007 mishka

Implement locking switcher for alternative layots (many languages
are based on completely different alphabet, and typesetting with
one of modifiers pressed all the time is just a PITA). See
http://mail-index.netbsd.org/tech-kern/2007/03/29/0002.html for
usage details.

While here, perform the following small cleanups:
- KS_Cmd_Scroll* execution should be explicitly interrupted with 'break'.
- Some 'human' cleanups in ksym extraction algorithm (no func. changes).
- Add a note: implemented ksym translation isn't sufficient for l10n.


Revision tags: netbsd-4-0-1-RELEASE wrstuden-fixsa-base-1 netbsd-4-0-RELEASE netbsd-4-0-RC5 matt-nb4-arm-base netbsd-4-0-RC4 netbsd-4-0-RC3 netbsd-4-0-RC2 netbsd-4-0-RC1 ad-audiomp-base post-newlock2-merge newlock2-nbase yamt-splraiseipl-base5 yamt-splraiseipl-base4 yamt-splraiseipl-base3 abandoned-netbsd-4-base yamt-splraiseipl-base2 yamt-splraiseipl-base yamt-pdpolicy-base9 newlock2-base yamt-pdpolicy-base8 yamt-pdpolicy-base7 netbsd-4-base yamt-pdpolicy-base6 chap-midi-nbase gdamore-uart-base yamt-pdpolicy-base5 chap-midi-base yamt-pdpolicy-base4 elad-kernelauth-base simonb-timecounters-base rpaulo-netinet-merge-pcb-base
# 1.56 01-Apr-2006 christos

branches: 1.56.12; 1.56.20; 1.56.24;
Greek console keymap from Eye of the Beholder


Revision tags: yamt-pdpolicy-base3 peter-altq-base yamt-pdpolicy-base2 yamt-pdpolicy-base yamt-uio_vmspace-base5
# 1.55 11-Dec-2005 christos

branches: 1.55.4; 1.55.6; 1.55.8; 1.55.10; 1.55.12;
merge ktrace-lwp.


Revision tags: yamt-readahead-base3 yamt-readahead-base2 yamt-readahead-pervnode yamt-readahead-perfile yamt-readahead-base yamt-vop-base3 yamt-vop-base2 thorpej-vnode-attr-base yamt-vop-base ktrace-lwp-base
# 1.54 08-Jun-2005 martin

branches: 1.54.2;
Add a key symbol for the "Power" key.


# 1.53 30-Apr-2005 augustss

Remember what keyboard layout is set in the mux, that way new keyboards
can be given the same layout. Fixes kern/19153.


Revision tags: kent-audio2-base
# 1.52 04-Apr-2005 martti

s/Finish/Finnish/


Revision tags: yamt-km-base4 yamt-km-base3 netbsd-3-base
# 1.51 08-Mar-2005 dsl

branches: 1.51.2;
Change the wa ythe KB_xxx and KB_ENCTAB are defined so we have all the
data for a single keyboard on one line - including the long name and
default modifiers that sysinst needs.


Revision tags: yamt-km-base2 yamt-km-base kent-audio1-beforemerge kent-audio1-base
# 1.50 02-Dec-2004 hubertf

branches: 1.50.4; 1.50.6;
Try to document keymap names - this really a trip into the obscure.
XXX someone please review!


# 1.49 28-May-2004 christos

PR/19925: David Ferlier: Add scrolling support to wscons.


# 1.48 13-May-2004 pooka

Add el-cheapo finnish encoding, i.e. make the name "fi" point to
the swedish keymap, which actually gets set.

inspired by wiz
keymap name blessed by Klaus


Revision tags: netbsd-2-0-base nathanw_sa_before_merge fvdl_fs64_base gmcgarry_ctxsw_base gmcgarry_ucred_base nathanw_sa_base
# 1.47 25-Nov-2002 fvdl

branches: 1.47.6; 1.47.8;
Add 'U' to 16-bit hex constants to stop gcc 3.3 from complaining. Shouldn't
really be needed, but.. (from scw and thorpej).


# 1.46 25-Oct-2002 martin

Add a few symbols.


Revision tags: netbsd-1-6-PATCH002-RELEASE netbsd-1-6-PATCH002 netbsd-1-6-PATCH002-RC4 netbsd-1-6-PATCH002-RC3 netbsd-1-6-PATCH002-RC2 netbsd-1-6-PATCH002-RC1 netbsd-1-6-PATCH001 netbsd-1-6-PATCH001-RELEASE netbsd-1-6-PATCH001-RC3 netbsd-1-6-PATCH001-RC2 netbsd-1-6-PATCH001-RC1 kqueue-aftermerge kqueue-beforemerge netbsd-1-6-RELEASE netbsd-1-6-RC3 netbsd-1-6-RC2 netbsd-1-6-RC1 netbsd-1-6-base gehenna-devsw-base kqueue-base
# 1.45 23-Apr-2002 hannken

Remove the cyrillic keysyms. This was not done the right way.
Will come back after 1.6 has branched.

Approved by: Matthias Drochner <drochner@netbsd.org>


# 1.44 24-Mar-2002 uwe

Sync most Cyrillic names with X11 keysym names.


Revision tags: eeh-devprop-base
# 1.43 17-Mar-2002 augustss

Add Cyrillic keysyms. From OpenBSD.


# 1.42 17-Mar-2002 augustss

Don't forget the symbolc names for the keymaps.


# 1.41 17-Mar-2002 augustss

Add more language map definitions.


Revision tags: newlock-base ifpoll-base thorpej-mips-cache-base
# 1.40 11-Nov-2001 martin

Add polish keyboard map, from Dawid Szyma_ski <dawszy@netbsd.lubin.pl>.


Revision tags: thorpej-devvp-base3 thorpej-devvp-base2 post-chs-ubcperf pre-chs-ubcperf thorpej-devvp-base thorpej_scsipi_beforemerge thorpej_scsipi_nbase thorpej_scsipi_base
# 1.39 05-Dec-2000 drochner

branches: 1.39.2; 1.39.4; 1.39.8;
add some missing definitions for hungarian keymap support
(It won't help much since there is no way to get characters not in
iso-1 or the function key set through the vt100/sun/dumb terminal
emulations:-(


# 1.38 13-Oct-2000 mjl

Revert previous since the finnish keymap is already present under
the name "sv". Note to myself: Read PRs completely before acting.
Note to Santa Claus: I want a mailing list that carries all follow
ups to PRs!


# 1.37 12-Oct-2000 mjl

Add finnish keymap, from Heikki Kallasjoki in PR/11186.


# 1.36 01-Oct-2000 takemura

- Add ioctl commands to wsdisplay which set/get some LCD status,
backlight, brightness and contrast.
- Add 9 command key symbols which make wskbd to call wsdisplay's
iocontrol.
- Add special key map variant KB_MACHDEP. This variant does not
have any real keymap but it's just a placeholder for machine dependent
maps which will be overwrite by machine dependent keyboard driver.


# 1.35 06-Jul-2000 hannken

Change type `kbd_t' from `u_int_16_t' to `u_int32_t'.
This eliminates bogus casts from `int *' to `u_int_16_t*'.


Revision tags: netbsd-1-5-base minoura-xpg4dl-base
# 1.34 19-May-2000 drochner

branches: 1.34.4;
define spanish keymap


# 1.33 13-May-2000 bjh21

Oops. Swedish is KB_SV.


# 1.32 13-May-2000 bjh21

Add keypad-# and Swedish layout


# 1.31 14-Apr-2000 tsarna

Add an "iopener" keymap variant, giving us.iopener and
us.iopener.swapctrlcaps. This makes F1 ("Back") into Escape, and shifts
the other keys over by one, so F2-F12 ("Forward"-"Home") become F1-F11.


# 1.30 19-Mar-2000 tsarna

Make clearer. IMHO, all of this code should stop referring to Control-L
and Control-R, since those suggest ^L and ^R, not Left and Right Control.


# 1.29 19-Mar-2000 tsarna

Correct a comment


# 1.28 05-Mar-2000 soren

Add Norwegian keymap from Haavard Lygre.


Revision tags: chs-ubc2-newbase wrstuden-devbsize-19991221 wrstuden-devbsize-base
# 1.27 21-Dec-1999 drochner

introduce a METAESC keyboard variant bit


Revision tags: fvdl-softdep-base
# 1.26 10-Nov-1999 drochner

allow to set multiple keyboard "variants" simultanously.
Follows PR kern/8456 by Michael Eriksson <eramore@era-t.ericsson.se>,
implemented diffently.


Revision tags: comdex-fall-1999-base chs-ubc2-base
# 1.25 11-May-1999 drochner

branches: 1.25.2; 1.25.4; 1.25.8;
define swedish layout and "dvorak" variant


Revision tags: kame_141_19991130 netbsd-1-4-PATCH001 kame_14_19990705 kame_14_19990628 netbsd-1-4-RELEASE netbsd-1-4-base
# 1.24 12-Feb-1999 drochner

branches: 1.24.2; 1.24.4;
"NEXT" is a keyboard type, not a keymap variation.


# 1.23 28-Jan-1999 dbj

wscons based console video & keyboard support for the NeXT
from Matt DeBergalis


# 1.22 23-Jan-1999 drochner

add definitions for the additional modifiers on japanese keyboards
(These are not of use for wscons, but we want to give names to the keys
at least.)


# 1.21 17-Jan-1999 drochner

define a "close everything" keyboard command


# 1.20 15-Jan-1999 drochner

add definition for japanese keyboard


# 1.19 14-Jan-1999 drochner

add a "reset terminal emulator" command pseudo-keysym and call the
corresponding callback if one is hit


# 1.18 10-Jan-1999 augustss

Rename the "windows" keys and add the new keys to the keyboard maps.


# 1.17 10-Jan-1999 augustss

Add definitions for Pause and Print_Screen keys.
(Why were these keys missing? Or am I missing something obvious here?)


# 1.16 10-Jan-1999 augustss

Add definitions for left and right "Windows" keys and menu key.


# 1.15 09-Jan-1999 drochner

add a definition for the "swap ctl and caps" option


# 1.14 06-Jan-1999 drochner

add definition for british keyboard


# 1.13 28-Dec-1998 hannken

Prepare for wsconsctrl:
- clean up keycode defines.
- allow easy parse of wsksymdef.h.
- add misssing KB_IT entry.
- set layout to KB_USER after ioctl WSKBDIO_SETMAP.


Revision tags: kenh-if-detach-base chs-ubc-base
# 1.12 03-Oct-1998 drochner

add definition for french keyboard


# 1.11 17-Sep-1998 drochner

Add option bit which covers the delta between LK201 and LK401.


# 1.10 01-Sep-1998 drochner

add definition for italian keyboard


Revision tags: eeh-paddr_t-base
# 1.9 15-Jul-1998 drochner

rename "LK" -> "declk" for consistency


# 1.8 14-Jul-1998 drochner

support keyboards with PC interface and DEC layout (LK461)


# 1.7 16-Jun-1998 drochner

add missing keys for vt100


# 1.6 20-Apr-1998 hannken

Undo change from drochner (Rev 1.4 of wsksymdef.h) and fix PR #5298 and #5299.


# 1.5 18-Apr-1998 drochner

Add danish keymap.
From Soren S. Jorvang (PR kern/5312).


# 1.4 16-Apr-1998 drochner

Don't use KS_GROUP_xxx values which have set something in the lower
8 bits. This allows to OR them with keycodes.
This is probably a workaround for namespace confusion happening else-
where (in wskbdutil.c:ksym_upcase() perhaps?), but it helps without
too much digging into the details.


# 1.3 07-Apr-1998 hannken

Fix typo.


# 1.2 07-Apr-1998 hannken

Oops. Forgot RCS ident and copyright.


# 1.1 07-Apr-1998 hannken

Initial import of MI keyboard translation for dev/wscons.


# 1.76 11-May-2021 nia

wscons: add support for the Neo 2 German keyboard layout

Neo is an optimized layout for German and English, similar to
Dvorak for English. It can be used to type most Latin-based languages
and has separate layers for symbols and directional commands.


Revision tags: cjep_staticlib_x-base thorpej-i2c-spi-conf-base thorpej-cfargs-base thorpej-futex-base
# 1.75 17-Oct-2020 mlelstv

Correct KB_NEXT value. No impact since KB_NEXT isn't used anywhere.


# 1.74 29-Aug-2020 macallan

provide KB_APPLE layout variant which uses Command-F* to switch console screens
mostly for consistent behaviour across *Books which may have ADB or USB
keyboards


# 1.73 13-Jul-2020 nia

Clarify that KB_TR is the "Q" layout - there's two standards for Turkish.


# 1.72 13-Jul-2020 nia

Canadian French keyboard layout for ukbd/pckbd


# 1.71 13-Jul-2020 nia

Add keyboard layout for Latin American Spanish to ukbd/pckbd


# 1.70 12-Jul-2020 nia

Add Icelandic keyboard layout to ukbd/pckbd.


# 1.69 12-Jul-2020 nia

Add Estonian layout as a variation of Swedish for ukbd and pckbd


# 1.68 12-Jul-2020 nia

Add support for the Brazilian keyboard layout to pckbd and ukbd.

This is significantly different from the European Portugese layout,
and was pieced together from Wikipedia, X11 layout files, and to
some extent with trial and error.

Thanks to lun-4 for helping test this.

PR kern/44570


Revision tags: bouyer-xenpvh-base2 phil-wifi-20200421 bouyer-xenpvh-base1 phil-wifi-20200411 bouyer-xenpvh-base is-mlppp-base phil-wifi-20200406 ad-namecache-base3 netbsd-9-0-RELEASE netbsd-9-0-RC2 ad-namecache-base2 ad-namecache-base1 ad-namecache-base netbsd-9-0-RC1 phil-wifi-20191119 netbsd-9-base phil-wifi-20190609 isaki-audio2-base pgoyette-compat-merge-20190127 pgoyette-compat-20190127 pgoyette-compat-20190118 pgoyette-compat-1226 pgoyette-compat-1126 pgoyette-compat-1020 pgoyette-compat-0930 pgoyette-compat-0906 jdolecek-ncqfixes-base pgoyette-compat-0728 phil-wifi-base pgoyette-compat-0625 pgoyette-compat-0521 pgoyette-compat-0502 pgoyette-compat-0422 pgoyette-compat-0415 pgoyette-compat-0407 pgoyette-compat-0330 pgoyette-compat-0322 pgoyette-compat-0315 pgoyette-compat-base
# 1.67 19-Feb-2018 maya

branches: 1.67.10;
Add Turkish keyboard layout.

from berte in PR kern/53011.


Revision tags: netbsd-7-2-RELEASE netbsd-7-1-2-RELEASE netbsd-7-1-1-RELEASE tls-maxphys-base-20171202 matt-nb8-mediatek-base nick-nhusb-base-20170825 perseant-stdc-iso10646-base netbsd-8-base prg-localcount2-base3 prg-localcount2-base2 prg-localcount2-base1 prg-localcount2-base pgoyette-localcount-20170426 bouyer-socketcan-base1 jdolecek-ncq-base pgoyette-localcount-20170320 netbsd-7-1-RELEASE netbsd-7-1-RC2 nick-nhusb-base-20170204 netbsd-7-nhusb-base-20170116 bouyer-socketcan-base pgoyette-localcount-20170107 netbsd-7-1-RC1 nick-nhusb-base-20161204 pgoyette-localcount-20161104 netbsd-7-0-2-RELEASE nick-nhusb-base-20161004 localcount-20160914 netbsd-7-nhusb-base pgoyette-localcount-20160806 pgoyette-localcount-20160726 pgoyette-localcount-base nick-nhusb-base-20160907 nick-nhusb-base-20160529 netbsd-7-0-1-RELEASE nick-nhusb-base-20160422 nick-nhusb-base-20160319 nick-nhusb-base-20151226 netbsd-7-0-RELEASE nick-nhusb-base-20150921 netbsd-7-0-RC3 netbsd-7-0-RC2 netbsd-7-0-RC1 nick-nhusb-base-20150606 nick-nhusb-base-20150406 nick-nhusb-base netbsd-7-base yamt-pagecache-base9 tls-earlyentropy-base riastradh-xf86-video-intel-2-7-1-pre-2-21-15 riastradh-drm2-base3 rmind-smpnet-nbase riastradh-drm2-base2 riastradh-drm2-base1 riastradh-drm2-base rmind-smpnet-base agc-symver-base yamt-pagecache-base8 yamt-pagecache-base7 yamt-pagecache-base6 tls-maxphys-base jmcneill-usbmp-base10 yamt-pagecache-base5 jmcneill-usbmp-base9
# 1.66 22-Apr-2012 khorben

branches: 1.66.32;
Implemented extra keys as found on Sun Type 7 USB keyboards, and
according to the documentation mentioned above in this file.

"works here" macallan@, myself


Revision tags: netbsd-6-0-6-RELEASE netbsd-6-1-5-RELEASE netbsd-6-1-4-RELEASE netbsd-6-0-5-RELEASE netbsd-6-1-3-RELEASE netbsd-6-0-4-RELEASE netbsd-6-1-2-RELEASE netbsd-6-0-3-RELEASE netbsd-6-1-1-RELEASE netbsd-6-0-2-RELEASE netbsd-6-1-RELEASE netbsd-6-1-RC4 netbsd-6-1-RC3 netbsd-6-1-RC2 netbsd-6-1-RC1 netbsd-6-0-1-RELEASE matt-nb6-plus-nbase netbsd-6-0-RELEASE netbsd-6-0-RC2 matt-nb6-plus-base netbsd-6-0-RC1 yamt-pagecache-base4 jmcneill-usbmp-base8 jmcneill-usbmp-base7 jmcneill-usbmp-base6 jmcneill-usbmp-base5 jmcneill-usbmp-base4 jmcneill-usbmp-base3 jmcneill-usbmp-pre-base2 jmcneill-usbmp-base2 netbsd-6-base jmcneill-usbmp-base jmcneill-audiomp3-base yamt-pagecache-base3 yamt-pagecache-base2 yamt-pagecache-base
# 1.65 22-Jul-2011 christos

branches: 1.65.2; 1.65.6;
PR/35473: Wigcher Spanninga: Add Dutch keyboard support to wscons


Revision tags: rmind-uvmplock-nbase cherry-xenmp-base bouyer-quota2-nbase bouyer-quota2-base jruoho-x86intr-base matt-mips64-premerge-20101231 uebayasi-xip-base4 uebayasi-xip-base3 yamt-nfs-mp-base11 uebayasi-xip-base2 yamt-nfs-mp-base10 uebayasi-xip-base1 rmind-uvmplock-base yamt-nfs-mp-base9 uebayasi-xip-base
# 1.64 28-Jan-2010 drochner

-rename the "KS_GROUP_Ascii" key symbol category to "Plain" because
this is what it meant all the time -- it includes characters >127
-delegate translation of all key symbols >127 to the terminal emulation
layer -- formerly everything non-special was passed to the tty subsystem
directly, involving truncation to a "char", which effectively meant
some ISO-1 assumption


Revision tags: matt-premerge-20091211 yamt-nfs-mp-base8 yamt-nfs-mp-base7 jymxensuspend-base yamt-nfs-mp-base6 yamt-nfs-mp-base5 yamt-nfs-mp-base4 jym-xensuspend-nbase yamt-nfs-mp-base3 nick-hppapmap-base4 nick-hppapmap-base3 jym-xensuspend-base nick-hppapmap-base
# 1.63 06-Apr-2009 mkirby

Add a Czech (QWERTY) keyboard layout, and teach wscons about latin 2 characters.

Original code from Lubomir Kundrak, adapted to current and cleaned up by me.

Fixes PR kern/16216

ok agc@ jdc@


Revision tags: nick-hppapmap-base2
# 1.62 18-Feb-2009 snj

s/portugese/portuguese/, spotted by Ari Constancio in PR misc/40202.


Revision tags: netbsd-5-0-2-RELEASE matt-nb5-mips64-premerge-20091211 matt-nb5-mips64-u2-k2-k4-k7-k8-k9 matt-nb4-mips64-k7-u2a-k9b matt-nb5-mips64-u1-k1-k5 netbsd-5-0-1-RELEASE netbsd-5-0-RELEASE netbsd-5-0-RC4 netbsd-5-0-RC3 netbsd-5-0-RC2 netbsd-5-0-RC1 haad-dm-base2 haad-nbase2 ad-audiomp2-base netbsd-5-base matt-mips64-base2 haad-dm-base1 wrstuden-revivesa-base-4 wrstuden-revivesa-base-3 wrstuden-revivesa-base-2 haad-dm-base wrstuden-revivesa-base-1 simonb-wapbl-nbase yamt-pf42-base4 simonb-wapbl-base yamt-pf42-base3 wrstuden-revivesa-base mjf-devfs2-base
# 1.61 21-May-2008 ghen

branches: 1.61.6; 1.61.8; 1.61.12; 1.61.14; 1.61.16;
Add support for the Colemak keyboard layout variant, see http://colemak.com


Revision tags: hpcarm-cleanup-nbase yamt-pf42-base2 yamt-nfs-mp-base2
# 1.60 28-Apr-2008 martin

branches: 1.60.2;
Remove clause 3 and 4 from TNF licenses


Revision tags: yamt-pf42-baseX yamt-nfs-mp-base yamt-pf42-base ad-socklock-base1 yamt-lazymbuf-base15 yamt-lazymbuf-base14 keiichi-mipv6-nbase nick-net80211-sync-base keiichi-mipv6-base bouyer-xeni386-merge1 vmlocking2-base3 bouyer-xeni386-nbase yamt-kmem-base3 cube-autoconf-base yamt-kmem-base2 bouyer-xeni386-base matt-armv6-nbase mjf-devfs-base matt-armv6-base hpcarm-cleanup-base
# 1.59 09-Dec-2007 jmcneill

branches: 1.59.10; 1.59.12; 1.59.14;
Merge jmcneill-pm branch.


Revision tags: nick-csl-alignment-base5 matt-armv6-prevmlocking yamt-kmem-base vmlocking2-base2 reinoud-bufcleanup-nbase vmlocking2-base1 jmcneill-base bouyer-xenamd64-base2 vmlocking-nbase yamt-x86pmap-base4 bouyer-xenamd64-base yamt-x86pmap-base3 yamt-x86pmap-base2 yamt-x86pmap-base matt-mips64-base jmcneill-pm-base nick-csl-alignment-base yamt-idlelwp-base8 thorpej-atomic-base reinoud-bufcleanup-base mjf-ufs-trans-base vmlocking-base
# 1.58 04-Apr-2007 mishka

branches: 1.58.8; 1.58.10; 1.58.18; 1.58.20;
Revert previous commit until further investigation because it is
known as problematic. Some problems obscured are dead Del key (I
can reproduce this with wscons scroll support) and panic (seen by
<elad> only).


# 1.57 02-Apr-2007 mishka

Implement locking switcher for alternative layots (many languages
are based on completely different alphabet, and typesetting with
one of modifiers pressed all the time is just a PITA). See
http://mail-index.netbsd.org/tech-kern/2007/03/29/0002.html for
usage details.

While here, perform the following small cleanups:
- KS_Cmd_Scroll* execution should be explicitly interrupted with 'break'.
- Some 'human' cleanups in ksym extraction algorithm (no func. changes).
- Add a note: implemented ksym translation isn't sufficient for l10n.


Revision tags: netbsd-4-0-1-RELEASE wrstuden-fixsa-base-1 netbsd-4-0-RELEASE netbsd-4-0-RC5 matt-nb4-arm-base netbsd-4-0-RC4 netbsd-4-0-RC3 netbsd-4-0-RC2 netbsd-4-0-RC1 ad-audiomp-base post-newlock2-merge newlock2-nbase yamt-splraiseipl-base5 yamt-splraiseipl-base4 yamt-splraiseipl-base3 abandoned-netbsd-4-base yamt-splraiseipl-base2 yamt-splraiseipl-base yamt-pdpolicy-base9 newlock2-base yamt-pdpolicy-base8 yamt-pdpolicy-base7 netbsd-4-base yamt-pdpolicy-base6 chap-midi-nbase gdamore-uart-base yamt-pdpolicy-base5 chap-midi-base yamt-pdpolicy-base4 elad-kernelauth-base simonb-timecounters-base rpaulo-netinet-merge-pcb-base
# 1.56 01-Apr-2006 christos

branches: 1.56.12; 1.56.20; 1.56.24;
Greek console keymap from Eye of the Beholder


Revision tags: yamt-pdpolicy-base3 peter-altq-base yamt-pdpolicy-base2 yamt-pdpolicy-base yamt-uio_vmspace-base5
# 1.55 11-Dec-2005 christos

branches: 1.55.4; 1.55.6; 1.55.8; 1.55.10; 1.55.12;
merge ktrace-lwp.


Revision tags: yamt-readahead-base3 yamt-readahead-base2 yamt-readahead-pervnode yamt-readahead-perfile yamt-readahead-base yamt-vop-base3 yamt-vop-base2 thorpej-vnode-attr-base yamt-vop-base ktrace-lwp-base
# 1.54 08-Jun-2005 martin

branches: 1.54.2;
Add a key symbol for the "Power" key.


# 1.53 30-Apr-2005 augustss

Remember what keyboard layout is set in the mux, that way new keyboards
can be given the same layout. Fixes kern/19153.


Revision tags: kent-audio2-base
# 1.52 04-Apr-2005 martti

s/Finish/Finnish/


Revision tags: yamt-km-base4 yamt-km-base3 netbsd-3-base
# 1.51 08-Mar-2005 dsl

branches: 1.51.2;
Change the wa ythe KB_xxx and KB_ENCTAB are defined so we have all the
data for a single keyboard on one line - including the long name and
default modifiers that sysinst needs.


Revision tags: yamt-km-base2 yamt-km-base kent-audio1-beforemerge kent-audio1-base
# 1.50 02-Dec-2004 hubertf

branches: 1.50.4; 1.50.6;
Try to document keymap names - this really a trip into the obscure.
XXX someone please review!


# 1.49 28-May-2004 christos

PR/19925: David Ferlier: Add scrolling support to wscons.


# 1.48 13-May-2004 pooka

Add el-cheapo finnish encoding, i.e. make the name "fi" point to
the swedish keymap, which actually gets set.

inspired by wiz
keymap name blessed by Klaus


Revision tags: netbsd-2-0-base nathanw_sa_before_merge fvdl_fs64_base gmcgarry_ctxsw_base gmcgarry_ucred_base nathanw_sa_base
# 1.47 25-Nov-2002 fvdl

branches: 1.47.6; 1.47.8;
Add 'U' to 16-bit hex constants to stop gcc 3.3 from complaining. Shouldn't
really be needed, but.. (from scw and thorpej).


# 1.46 25-Oct-2002 martin

Add a few symbols.


Revision tags: netbsd-1-6-PATCH002-RELEASE netbsd-1-6-PATCH002 netbsd-1-6-PATCH002-RC4 netbsd-1-6-PATCH002-RC3 netbsd-1-6-PATCH002-RC2 netbsd-1-6-PATCH002-RC1 netbsd-1-6-PATCH001 netbsd-1-6-PATCH001-RELEASE netbsd-1-6-PATCH001-RC3 netbsd-1-6-PATCH001-RC2 netbsd-1-6-PATCH001-RC1 kqueue-aftermerge kqueue-beforemerge netbsd-1-6-RELEASE netbsd-1-6-RC3 netbsd-1-6-RC2 netbsd-1-6-RC1 netbsd-1-6-base gehenna-devsw-base kqueue-base
# 1.45 23-Apr-2002 hannken

Remove the cyrillic keysyms. This was not done the right way.
Will come back after 1.6 has branched.

Approved by: Matthias Drochner <drochner@netbsd.org>


# 1.44 24-Mar-2002 uwe

Sync most Cyrillic names with X11 keysym names.


Revision tags: eeh-devprop-base
# 1.43 17-Mar-2002 augustss

Add Cyrillic keysyms. From OpenBSD.


# 1.42 17-Mar-2002 augustss

Don't forget the symbolc names for the keymaps.


# 1.41 17-Mar-2002 augustss

Add more language map definitions.


Revision tags: newlock-base ifpoll-base thorpej-mips-cache-base
# 1.40 11-Nov-2001 martin

Add polish keyboard map, from Dawid Szyma_ski <dawszy@netbsd.lubin.pl>.


Revision tags: thorpej-devvp-base3 thorpej-devvp-base2 post-chs-ubcperf pre-chs-ubcperf thorpej-devvp-base thorpej_scsipi_beforemerge thorpej_scsipi_nbase thorpej_scsipi_base
# 1.39 05-Dec-2000 drochner

branches: 1.39.2; 1.39.4; 1.39.8;
add some missing definitions for hungarian keymap support
(It won't help much since there is no way to get characters not in
iso-1 or the function key set through the vt100/sun/dumb terminal
emulations:-(


# 1.38 13-Oct-2000 mjl

Revert previous since the finnish keymap is already present under
the name "sv". Note to myself: Read PRs completely before acting.
Note to Santa Claus: I want a mailing list that carries all follow
ups to PRs!


# 1.37 12-Oct-2000 mjl

Add finnish keymap, from Heikki Kallasjoki in PR/11186.


# 1.36 01-Oct-2000 takemura

- Add ioctl commands to wsdisplay which set/get some LCD status,
backlight, brightness and contrast.
- Add 9 command key symbols which make wskbd to call wsdisplay's
iocontrol.
- Add special key map variant KB_MACHDEP. This variant does not
have any real keymap but it's just a placeholder for machine dependent
maps which will be overwrite by machine dependent keyboard driver.


# 1.35 06-Jul-2000 hannken

Change type `kbd_t' from `u_int_16_t' to `u_int32_t'.
This eliminates bogus casts from `int *' to `u_int_16_t*'.


Revision tags: netbsd-1-5-base minoura-xpg4dl-base
# 1.34 19-May-2000 drochner

branches: 1.34.4;
define spanish keymap


# 1.33 13-May-2000 bjh21

Oops. Swedish is KB_SV.


# 1.32 13-May-2000 bjh21

Add keypad-# and Swedish layout


# 1.31 14-Apr-2000 tsarna

Add an "iopener" keymap variant, giving us.iopener and
us.iopener.swapctrlcaps. This makes F1 ("Back") into Escape, and shifts
the other keys over by one, so F2-F12 ("Forward"-"Home") become F1-F11.


# 1.30 19-Mar-2000 tsarna

Make clearer. IMHO, all of this code should stop referring to Control-L
and Control-R, since those suggest ^L and ^R, not Left and Right Control.


# 1.29 19-Mar-2000 tsarna

Correct a comment


# 1.28 05-Mar-2000 soren

Add Norwegian keymap from Haavard Lygre.


Revision tags: chs-ubc2-newbase wrstuden-devbsize-19991221 wrstuden-devbsize-base
# 1.27 21-Dec-1999 drochner

introduce a METAESC keyboard variant bit


Revision tags: fvdl-softdep-base
# 1.26 10-Nov-1999 drochner

allow to set multiple keyboard "variants" simultanously.
Follows PR kern/8456 by Michael Eriksson <eramore@era-t.ericsson.se>,
implemented diffently.


Revision tags: comdex-fall-1999-base chs-ubc2-base
# 1.25 11-May-1999 drochner

branches: 1.25.2; 1.25.4; 1.25.8;
define swedish layout and "dvorak" variant


Revision tags: kame_141_19991130 netbsd-1-4-PATCH001 kame_14_19990705 kame_14_19990628 netbsd-1-4-RELEASE netbsd-1-4-base
# 1.24 12-Feb-1999 drochner

branches: 1.24.2; 1.24.4;
"NEXT" is a keyboard type, not a keymap variation.


# 1.23 28-Jan-1999 dbj

wscons based console video & keyboard support for the NeXT
from Matt DeBergalis


# 1.22 23-Jan-1999 drochner

add definitions for the additional modifiers on japanese keyboards
(These are not of use for wscons, but we want to give names to the keys
at least.)


# 1.21 17-Jan-1999 drochner

define a "close everything" keyboard command


# 1.20 15-Jan-1999 drochner

add definition for japanese keyboard


# 1.19 14-Jan-1999 drochner

add a "reset terminal emulator" command pseudo-keysym and call the
corresponding callback if one is hit


# 1.18 10-Jan-1999 augustss

Rename the "windows" keys and add the new keys to the keyboard maps.


# 1.17 10-Jan-1999 augustss

Add definitions for Pause and Print_Screen keys.
(Why were these keys missing? Or am I missing something obvious here?)


# 1.16 10-Jan-1999 augustss

Add definitions for left and right "Windows" keys and menu key.


# 1.15 09-Jan-1999 drochner

add a definition for the "swap ctl and caps" option


# 1.14 06-Jan-1999 drochner

add definition for british keyboard


# 1.13 28-Dec-1998 hannken

Prepare for wsconsctrl:
- clean up keycode defines.
- allow easy parse of wsksymdef.h.
- add misssing KB_IT entry.
- set layout to KB_USER after ioctl WSKBDIO_SETMAP.


Revision tags: kenh-if-detach-base chs-ubc-base
# 1.12 03-Oct-1998 drochner

add definition for french keyboard


# 1.11 17-Sep-1998 drochner

Add option bit which covers the delta between LK201 and LK401.


# 1.10 01-Sep-1998 drochner

add definition for italian keyboard


Revision tags: eeh-paddr_t-base
# 1.9 15-Jul-1998 drochner

rename "LK" -> "declk" for consistency


# 1.8 14-Jul-1998 drochner

support keyboards with PC interface and DEC layout (LK461)


# 1.7 16-Jun-1998 drochner

add missing keys for vt100


# 1.6 20-Apr-1998 hannken

Undo change from drochner (Rev 1.4 of wsksymdef.h) and fix PR #5298 and #5299.


# 1.5 18-Apr-1998 drochner

Add danish keymap.
From Soren S. Jorvang (PR kern/5312).


# 1.4 16-Apr-1998 drochner

Don't use KS_GROUP_xxx values which have set something in the lower
8 bits. This allows to OR them with keycodes.
This is probably a workaround for namespace confusion happening else-
where (in wskbdutil.c:ksym_upcase() perhaps?), but it helps without
too much digging into the details.


# 1.3 07-Apr-1998 hannken

Fix typo.


# 1.2 07-Apr-1998 hannken

Oops. Forgot RCS ident and copyright.


# 1.1 07-Apr-1998 hannken

Initial import of MI keyboard translation for dev/wscons.


# 1.75 17-Oct-2020 mlelstv

Correct KB_NEXT value. No impact since KB_NEXT isn't used anywhere.


# 1.74 29-Aug-2020 macallan

provide KB_APPLE layout variant which uses Command-F* to switch console screens
mostly for consistent behaviour across *Books which may have ADB or USB
keyboards


# 1.73 13-Jul-2020 nia

Clarify that KB_TR is the "Q" layout - there's two standards for Turkish.


# 1.72 13-Jul-2020 nia

Canadian French keyboard layout for ukbd/pckbd


# 1.71 13-Jul-2020 nia

Add keyboard layout for Latin American Spanish to ukbd/pckbd


# 1.70 12-Jul-2020 nia

Add Icelandic keyboard layout to ukbd/pckbd.


# 1.69 12-Jul-2020 nia

Add Estonian layout as a variation of Swedish for ukbd and pckbd


# 1.68 12-Jul-2020 nia

Add support for the Brazilian keyboard layout to pckbd and ukbd.

This is significantly different from the European Portugese layout,
and was pieced together from Wikipedia, X11 layout files, and to
some extent with trial and error.

Thanks to lun-4 for helping test this.

PR kern/44570


Revision tags: bouyer-xenpvh-base2 phil-wifi-20200421 bouyer-xenpvh-base1 phil-wifi-20200411 bouyer-xenpvh-base is-mlppp-base phil-wifi-20200406 ad-namecache-base3 netbsd-9-0-RELEASE netbsd-9-0-RC2 ad-namecache-base2 ad-namecache-base1 ad-namecache-base netbsd-9-0-RC1 phil-wifi-20191119 netbsd-9-base phil-wifi-20190609 isaki-audio2-base pgoyette-compat-merge-20190127 pgoyette-compat-20190127 pgoyette-compat-20190118 pgoyette-compat-1226 pgoyette-compat-1126 pgoyette-compat-1020 pgoyette-compat-0930 pgoyette-compat-0906 jdolecek-ncqfixes-base pgoyette-compat-0728 phil-wifi-base pgoyette-compat-0625 pgoyette-compat-0521 pgoyette-compat-0502 pgoyette-compat-0422 pgoyette-compat-0415 pgoyette-compat-0407 pgoyette-compat-0330 pgoyette-compat-0322 pgoyette-compat-0315 pgoyette-compat-base
# 1.67 19-Feb-2018 maya

branches: 1.67.10;
Add Turkish keyboard layout.

from berte in PR kern/53011.


Revision tags: netbsd-7-2-RELEASE netbsd-7-1-2-RELEASE netbsd-7-1-1-RELEASE tls-maxphys-base-20171202 matt-nb8-mediatek-base nick-nhusb-base-20170825 perseant-stdc-iso10646-base netbsd-8-base prg-localcount2-base3 prg-localcount2-base2 prg-localcount2-base1 prg-localcount2-base pgoyette-localcount-20170426 bouyer-socketcan-base1 jdolecek-ncq-base pgoyette-localcount-20170320 netbsd-7-1-RELEASE netbsd-7-1-RC2 nick-nhusb-base-20170204 netbsd-7-nhusb-base-20170116 bouyer-socketcan-base pgoyette-localcount-20170107 netbsd-7-1-RC1 nick-nhusb-base-20161204 pgoyette-localcount-20161104 netbsd-7-0-2-RELEASE nick-nhusb-base-20161004 localcount-20160914 netbsd-7-nhusb-base pgoyette-localcount-20160806 pgoyette-localcount-20160726 pgoyette-localcount-base nick-nhusb-base-20160907 nick-nhusb-base-20160529 netbsd-7-0-1-RELEASE nick-nhusb-base-20160422 nick-nhusb-base-20160319 nick-nhusb-base-20151226 netbsd-7-0-RELEASE nick-nhusb-base-20150921 netbsd-7-0-RC3 netbsd-7-0-RC2 netbsd-7-0-RC1 nick-nhusb-base-20150606 nick-nhusb-base-20150406 nick-nhusb-base netbsd-7-base yamt-pagecache-base9 tls-earlyentropy-base riastradh-xf86-video-intel-2-7-1-pre-2-21-15 riastradh-drm2-base3 rmind-smpnet-nbase riastradh-drm2-base2 riastradh-drm2-base1 riastradh-drm2-base rmind-smpnet-base agc-symver-base yamt-pagecache-base8 yamt-pagecache-base7 yamt-pagecache-base6 tls-maxphys-base jmcneill-usbmp-base10 yamt-pagecache-base5 jmcneill-usbmp-base9
# 1.66 22-Apr-2012 khorben

branches: 1.66.32;
Implemented extra keys as found on Sun Type 7 USB keyboards, and
according to the documentation mentioned above in this file.

"works here" macallan@, myself


Revision tags: netbsd-6-0-6-RELEASE netbsd-6-1-5-RELEASE netbsd-6-1-4-RELEASE netbsd-6-0-5-RELEASE netbsd-6-1-3-RELEASE netbsd-6-0-4-RELEASE netbsd-6-1-2-RELEASE netbsd-6-0-3-RELEASE netbsd-6-1-1-RELEASE netbsd-6-0-2-RELEASE netbsd-6-1-RELEASE netbsd-6-1-RC4 netbsd-6-1-RC3 netbsd-6-1-RC2 netbsd-6-1-RC1 netbsd-6-0-1-RELEASE matt-nb6-plus-nbase netbsd-6-0-RELEASE netbsd-6-0-RC2 matt-nb6-plus-base netbsd-6-0-RC1 yamt-pagecache-base4 jmcneill-usbmp-base8 jmcneill-usbmp-base7 jmcneill-usbmp-base6 jmcneill-usbmp-base5 jmcneill-usbmp-base4 jmcneill-usbmp-base3 jmcneill-usbmp-pre-base2 jmcneill-usbmp-base2 netbsd-6-base jmcneill-usbmp-base jmcneill-audiomp3-base yamt-pagecache-base3 yamt-pagecache-base2 yamt-pagecache-base
# 1.65 22-Jul-2011 christos

branches: 1.65.2; 1.65.6;
PR/35473: Wigcher Spanninga: Add Dutch keyboard support to wscons


Revision tags: rmind-uvmplock-nbase cherry-xenmp-base bouyer-quota2-nbase bouyer-quota2-base jruoho-x86intr-base matt-mips64-premerge-20101231 uebayasi-xip-base4 uebayasi-xip-base3 yamt-nfs-mp-base11 uebayasi-xip-base2 yamt-nfs-mp-base10 uebayasi-xip-base1 rmind-uvmplock-base yamt-nfs-mp-base9 uebayasi-xip-base
# 1.64 28-Jan-2010 drochner

-rename the "KS_GROUP_Ascii" key symbol category to "Plain" because
this is what it meant all the time -- it includes characters >127
-delegate translation of all key symbols >127 to the terminal emulation
layer -- formerly everything non-special was passed to the tty subsystem
directly, involving truncation to a "char", which effectively meant
some ISO-1 assumption


Revision tags: matt-premerge-20091211 yamt-nfs-mp-base8 yamt-nfs-mp-base7 jymxensuspend-base yamt-nfs-mp-base6 yamt-nfs-mp-base5 yamt-nfs-mp-base4 jym-xensuspend-nbase yamt-nfs-mp-base3 nick-hppapmap-base4 nick-hppapmap-base3 jym-xensuspend-base nick-hppapmap-base
# 1.63 06-Apr-2009 mkirby

Add a Czech (QWERTY) keyboard layout, and teach wscons about latin 2 characters.

Original code from Lubomir Kundrak, adapted to current and cleaned up by me.

Fixes PR kern/16216

ok agc@ jdc@


Revision tags: nick-hppapmap-base2
# 1.62 18-Feb-2009 snj

s/portugese/portuguese/, spotted by Ari Constancio in PR misc/40202.


Revision tags: netbsd-5-0-2-RELEASE matt-nb5-mips64-premerge-20091211 matt-nb5-mips64-u2-k2-k4-k7-k8-k9 matt-nb4-mips64-k7-u2a-k9b matt-nb5-mips64-u1-k1-k5 netbsd-5-0-1-RELEASE netbsd-5-0-RELEASE netbsd-5-0-RC4 netbsd-5-0-RC3 netbsd-5-0-RC2 netbsd-5-0-RC1 haad-dm-base2 haad-nbase2 ad-audiomp2-base netbsd-5-base matt-mips64-base2 haad-dm-base1 wrstuden-revivesa-base-4 wrstuden-revivesa-base-3 wrstuden-revivesa-base-2 haad-dm-base wrstuden-revivesa-base-1 simonb-wapbl-nbase yamt-pf42-base4 simonb-wapbl-base yamt-pf42-base3 wrstuden-revivesa-base mjf-devfs2-base
# 1.61 21-May-2008 ghen

branches: 1.61.6; 1.61.8; 1.61.12; 1.61.14; 1.61.16;
Add support for the Colemak keyboard layout variant, see http://colemak.com


Revision tags: hpcarm-cleanup-nbase yamt-pf42-base2 yamt-nfs-mp-base2
# 1.60 28-Apr-2008 martin

branches: 1.60.2;
Remove clause 3 and 4 from TNF licenses


Revision tags: yamt-pf42-baseX yamt-nfs-mp-base yamt-pf42-base ad-socklock-base1 yamt-lazymbuf-base15 yamt-lazymbuf-base14 keiichi-mipv6-nbase nick-net80211-sync-base keiichi-mipv6-base bouyer-xeni386-merge1 vmlocking2-base3 bouyer-xeni386-nbase yamt-kmem-base3 cube-autoconf-base yamt-kmem-base2 bouyer-xeni386-base matt-armv6-nbase mjf-devfs-base matt-armv6-base hpcarm-cleanup-base
# 1.59 09-Dec-2007 jmcneill

branches: 1.59.10; 1.59.12; 1.59.14;
Merge jmcneill-pm branch.


Revision tags: nick-csl-alignment-base5 matt-armv6-prevmlocking yamt-kmem-base vmlocking2-base2 reinoud-bufcleanup-nbase vmlocking2-base1 jmcneill-base bouyer-xenamd64-base2 vmlocking-nbase yamt-x86pmap-base4 bouyer-xenamd64-base yamt-x86pmap-base3 yamt-x86pmap-base2 yamt-x86pmap-base matt-mips64-base jmcneill-pm-base nick-csl-alignment-base yamt-idlelwp-base8 thorpej-atomic-base reinoud-bufcleanup-base mjf-ufs-trans-base vmlocking-base
# 1.58 04-Apr-2007 mishka

branches: 1.58.8; 1.58.10; 1.58.18; 1.58.20;
Revert previous commit until further investigation because it is
known as problematic. Some problems obscured are dead Del key (I
can reproduce this with wscons scroll support) and panic (seen by
<elad> only).


# 1.57 02-Apr-2007 mishka

Implement locking switcher for alternative layots (many languages
are based on completely different alphabet, and typesetting with
one of modifiers pressed all the time is just a PITA). See
http://mail-index.netbsd.org/tech-kern/2007/03/29/0002.html for
usage details.

While here, perform the following small cleanups:
- KS_Cmd_Scroll* execution should be explicitly interrupted with 'break'.
- Some 'human' cleanups in ksym extraction algorithm (no func. changes).
- Add a note: implemented ksym translation isn't sufficient for l10n.


Revision tags: netbsd-4-0-1-RELEASE wrstuden-fixsa-base-1 netbsd-4-0-RELEASE netbsd-4-0-RC5 matt-nb4-arm-base netbsd-4-0-RC4 netbsd-4-0-RC3 netbsd-4-0-RC2 netbsd-4-0-RC1 ad-audiomp-base post-newlock2-merge newlock2-nbase yamt-splraiseipl-base5 yamt-splraiseipl-base4 yamt-splraiseipl-base3 abandoned-netbsd-4-base yamt-splraiseipl-base2 yamt-splraiseipl-base yamt-pdpolicy-base9 newlock2-base yamt-pdpolicy-base8 yamt-pdpolicy-base7 netbsd-4-base yamt-pdpolicy-base6 chap-midi-nbase gdamore-uart-base yamt-pdpolicy-base5 chap-midi-base yamt-pdpolicy-base4 elad-kernelauth-base simonb-timecounters-base rpaulo-netinet-merge-pcb-base
# 1.56 01-Apr-2006 christos

branches: 1.56.12; 1.56.20; 1.56.24;
Greek console keymap from Eye of the Beholder


Revision tags: yamt-pdpolicy-base3 peter-altq-base yamt-pdpolicy-base2 yamt-pdpolicy-base yamt-uio_vmspace-base5
# 1.55 11-Dec-2005 christos

branches: 1.55.4; 1.55.6; 1.55.8; 1.55.10; 1.55.12;
merge ktrace-lwp.


Revision tags: yamt-readahead-base3 yamt-readahead-base2 yamt-readahead-pervnode yamt-readahead-perfile yamt-readahead-base yamt-vop-base3 yamt-vop-base2 thorpej-vnode-attr-base yamt-vop-base ktrace-lwp-base
# 1.54 08-Jun-2005 martin

branches: 1.54.2;
Add a key symbol for the "Power" key.


# 1.53 30-Apr-2005 augustss

Remember what keyboard layout is set in the mux, that way new keyboards
can be given the same layout. Fixes kern/19153.


Revision tags: kent-audio2-base
# 1.52 04-Apr-2005 martti

s/Finish/Finnish/


Revision tags: yamt-km-base4 yamt-km-base3 netbsd-3-base
# 1.51 08-Mar-2005 dsl

branches: 1.51.2;
Change the wa ythe KB_xxx and KB_ENCTAB are defined so we have all the
data for a single keyboard on one line - including the long name and
default modifiers that sysinst needs.


Revision tags: yamt-km-base2 yamt-km-base kent-audio1-beforemerge kent-audio1-base
# 1.50 02-Dec-2004 hubertf

branches: 1.50.4; 1.50.6;
Try to document keymap names - this really a trip into the obscure.
XXX someone please review!


# 1.49 28-May-2004 christos

PR/19925: David Ferlier: Add scrolling support to wscons.


# 1.48 13-May-2004 pooka

Add el-cheapo finnish encoding, i.e. make the name "fi" point to
the swedish keymap, which actually gets set.

inspired by wiz
keymap name blessed by Klaus


Revision tags: netbsd-2-0-base nathanw_sa_before_merge fvdl_fs64_base gmcgarry_ctxsw_base gmcgarry_ucred_base nathanw_sa_base
# 1.47 25-Nov-2002 fvdl

branches: 1.47.6; 1.47.8;
Add 'U' to 16-bit hex constants to stop gcc 3.3 from complaining. Shouldn't
really be needed, but.. (from scw and thorpej).


# 1.46 25-Oct-2002 martin

Add a few symbols.


Revision tags: netbsd-1-6-PATCH002-RELEASE netbsd-1-6-PATCH002 netbsd-1-6-PATCH002-RC4 netbsd-1-6-PATCH002-RC3 netbsd-1-6-PATCH002-RC2 netbsd-1-6-PATCH002-RC1 netbsd-1-6-PATCH001 netbsd-1-6-PATCH001-RELEASE netbsd-1-6-PATCH001-RC3 netbsd-1-6-PATCH001-RC2 netbsd-1-6-PATCH001-RC1 kqueue-aftermerge kqueue-beforemerge netbsd-1-6-RELEASE netbsd-1-6-RC3 netbsd-1-6-RC2 netbsd-1-6-RC1 netbsd-1-6-base gehenna-devsw-base kqueue-base
# 1.45 23-Apr-2002 hannken

Remove the cyrillic keysyms. This was not done the right way.
Will come back after 1.6 has branched.

Approved by: Matthias Drochner <drochner@netbsd.org>


# 1.44 24-Mar-2002 uwe

Sync most Cyrillic names with X11 keysym names.


Revision tags: eeh-devprop-base
# 1.43 17-Mar-2002 augustss

Add Cyrillic keysyms. From OpenBSD.


# 1.42 17-Mar-2002 augustss

Don't forget the symbolc names for the keymaps.


# 1.41 17-Mar-2002 augustss

Add more language map definitions.


Revision tags: newlock-base ifpoll-base thorpej-mips-cache-base
# 1.40 11-Nov-2001 martin

Add polish keyboard map, from Dawid Szyma_ski <dawszy@netbsd.lubin.pl>.


Revision tags: thorpej-devvp-base3 thorpej-devvp-base2 post-chs-ubcperf pre-chs-ubcperf thorpej-devvp-base thorpej_scsipi_beforemerge thorpej_scsipi_nbase thorpej_scsipi_base
# 1.39 05-Dec-2000 drochner

branches: 1.39.2; 1.39.4; 1.39.8;
add some missing definitions for hungarian keymap support
(It won't help much since there is no way to get characters not in
iso-1 or the function key set through the vt100/sun/dumb terminal
emulations:-(


# 1.38 13-Oct-2000 mjl

Revert previous since the finnish keymap is already present under
the name "sv". Note to myself: Read PRs completely before acting.
Note to Santa Claus: I want a mailing list that carries all follow
ups to PRs!


# 1.37 12-Oct-2000 mjl

Add finnish keymap, from Heikki Kallasjoki in PR/11186.


# 1.36 01-Oct-2000 takemura

- Add ioctl commands to wsdisplay which set/get some LCD status,
backlight, brightness and contrast.
- Add 9 command key symbols which make wskbd to call wsdisplay's
iocontrol.
- Add special key map variant KB_MACHDEP. This variant does not
have any real keymap but it's just a placeholder for machine dependent
maps which will be overwrite by machine dependent keyboard driver.


# 1.35 06-Jul-2000 hannken

Change type `kbd_t' from `u_int_16_t' to `u_int32_t'.
This eliminates bogus casts from `int *' to `u_int_16_t*'.


Revision tags: netbsd-1-5-base minoura-xpg4dl-base
# 1.34 19-May-2000 drochner

branches: 1.34.4;
define spanish keymap


# 1.33 13-May-2000 bjh21

Oops. Swedish is KB_SV.


# 1.32 13-May-2000 bjh21

Add keypad-# and Swedish layout


# 1.31 14-Apr-2000 tsarna

Add an "iopener" keymap variant, giving us.iopener and
us.iopener.swapctrlcaps. This makes F1 ("Back") into Escape, and shifts
the other keys over by one, so F2-F12 ("Forward"-"Home") become F1-F11.


# 1.30 19-Mar-2000 tsarna

Make clearer. IMHO, all of this code should stop referring to Control-L
and Control-R, since those suggest ^L and ^R, not Left and Right Control.


# 1.29 19-Mar-2000 tsarna

Correct a comment


# 1.28 05-Mar-2000 soren

Add Norwegian keymap from Haavard Lygre.


Revision tags: chs-ubc2-newbase wrstuden-devbsize-19991221 wrstuden-devbsize-base
# 1.27 21-Dec-1999 drochner

introduce a METAESC keyboard variant bit


Revision tags: fvdl-softdep-base
# 1.26 10-Nov-1999 drochner

allow to set multiple keyboard "variants" simultanously.
Follows PR kern/8456 by Michael Eriksson <eramore@era-t.ericsson.se>,
implemented diffently.


Revision tags: comdex-fall-1999-base chs-ubc2-base
# 1.25 11-May-1999 drochner

branches: 1.25.2; 1.25.4; 1.25.8;
define swedish layout and "dvorak" variant


Revision tags: kame_141_19991130 netbsd-1-4-PATCH001 kame_14_19990705 kame_14_19990628 netbsd-1-4-RELEASE netbsd-1-4-base
# 1.24 12-Feb-1999 drochner

branches: 1.24.2; 1.24.4;
"NEXT" is a keyboard type, not a keymap variation.


# 1.23 28-Jan-1999 dbj

wscons based console video & keyboard support for the NeXT
from Matt DeBergalis


# 1.22 23-Jan-1999 drochner

add definitions for the additional modifiers on japanese keyboards
(These are not of use for wscons, but we want to give names to the keys
at least.)


# 1.21 17-Jan-1999 drochner

define a "close everything" keyboard command


# 1.20 15-Jan-1999 drochner

add definition for japanese keyboard


# 1.19 14-Jan-1999 drochner

add a "reset terminal emulator" command pseudo-keysym and call the
corresponding callback if one is hit


# 1.18 10-Jan-1999 augustss

Rename the "windows" keys and add the new keys to the keyboard maps.


# 1.17 10-Jan-1999 augustss

Add definitions for Pause and Print_Screen keys.
(Why were these keys missing? Or am I missing something obvious here?)


# 1.16 10-Jan-1999 augustss

Add definitions for left and right "Windows" keys and menu key.


# 1.15 09-Jan-1999 drochner

add a definition for the "swap ctl and caps" option


# 1.14 06-Jan-1999 drochner

add definition for british keyboard


# 1.13 28-Dec-1998 hannken

Prepare for wsconsctrl:
- clean up keycode defines.
- allow easy parse of wsksymdef.h.
- add misssing KB_IT entry.
- set layout to KB_USER after ioctl WSKBDIO_SETMAP.


Revision tags: kenh-if-detach-base chs-ubc-base
# 1.12 03-Oct-1998 drochner

add definition for french keyboard


# 1.11 17-Sep-1998 drochner

Add option bit which covers the delta between LK201 and LK401.


# 1.10 01-Sep-1998 drochner

add definition for italian keyboard


Revision tags: eeh-paddr_t-base
# 1.9 15-Jul-1998 drochner

rename "LK" -> "declk" for consistency


# 1.8 14-Jul-1998 drochner

support keyboards with PC interface and DEC layout (LK461)


# 1.7 16-Jun-1998 drochner

add missing keys for vt100


# 1.6 20-Apr-1998 hannken

Undo change from drochner (Rev 1.4 of wsksymdef.h) and fix PR #5298 and #5299.


# 1.5 18-Apr-1998 drochner

Add danish keymap.
From Soren S. Jorvang (PR kern/5312).


# 1.4 16-Apr-1998 drochner

Don't use KS_GROUP_xxx values which have set something in the lower
8 bits. This allows to OR them with keycodes.
This is probably a workaround for namespace confusion happening else-
where (in wskbdutil.c:ksym_upcase() perhaps?), but it helps without
too much digging into the details.


# 1.3 07-Apr-1998 hannken

Fix typo.


# 1.2 07-Apr-1998 hannken

Oops. Forgot RCS ident and copyright.


# 1.1 07-Apr-1998 hannken

Initial import of MI keyboard translation for dev/wscons.


# 1.74 29-Aug-2020 macallan

provide KB_APPLE layout variant which uses Command-F* to switch console screens
mostly for consistent behaviour across *Books which may have ADB or USB
keyboards


# 1.73 13-Jul-2020 nia

Clarify that KB_TR is the "Q" layout - there's two standards for Turkish.


# 1.72 13-Jul-2020 nia

Canadian French keyboard layout for ukbd/pckbd


# 1.71 13-Jul-2020 nia

Add keyboard layout for Latin American Spanish to ukbd/pckbd


# 1.70 12-Jul-2020 nia

Add Icelandic keyboard layout to ukbd/pckbd.


# 1.69 12-Jul-2020 nia

Add Estonian layout as a variation of Swedish for ukbd and pckbd


# 1.68 12-Jul-2020 nia

Add support for the Brazilian keyboard layout to pckbd and ukbd.

This is significantly different from the European Portugese layout,
and was pieced together from Wikipedia, X11 layout files, and to
some extent with trial and error.

Thanks to lun-4 for helping test this.

PR kern/44570


Revision tags: bouyer-xenpvh-base2 phil-wifi-20200421 bouyer-xenpvh-base1 phil-wifi-20200411 bouyer-xenpvh-base is-mlppp-base phil-wifi-20200406 ad-namecache-base3 netbsd-9-0-RELEASE netbsd-9-0-RC2 ad-namecache-base2 ad-namecache-base1 ad-namecache-base netbsd-9-0-RC1 phil-wifi-20191119 netbsd-9-base phil-wifi-20190609 isaki-audio2-base pgoyette-compat-merge-20190127 pgoyette-compat-20190127 pgoyette-compat-20190118 pgoyette-compat-1226 pgoyette-compat-1126 pgoyette-compat-1020 pgoyette-compat-0930 pgoyette-compat-0906 jdolecek-ncqfixes-base pgoyette-compat-0728 phil-wifi-base pgoyette-compat-0625 pgoyette-compat-0521 pgoyette-compat-0502 pgoyette-compat-0422 pgoyette-compat-0415 pgoyette-compat-0407 pgoyette-compat-0330 pgoyette-compat-0322 pgoyette-compat-0315 pgoyette-compat-base
# 1.67 19-Feb-2018 maya

branches: 1.67.10;
Add Turkish keyboard layout.

from berte in PR kern/53011.


Revision tags: netbsd-7-2-RELEASE netbsd-7-1-2-RELEASE netbsd-7-1-1-RELEASE tls-maxphys-base-20171202 matt-nb8-mediatek-base nick-nhusb-base-20170825 perseant-stdc-iso10646-base netbsd-8-base prg-localcount2-base3 prg-localcount2-base2 prg-localcount2-base1 prg-localcount2-base pgoyette-localcount-20170426 bouyer-socketcan-base1 jdolecek-ncq-base pgoyette-localcount-20170320 netbsd-7-1-RELEASE netbsd-7-1-RC2 nick-nhusb-base-20170204 netbsd-7-nhusb-base-20170116 bouyer-socketcan-base pgoyette-localcount-20170107 netbsd-7-1-RC1 nick-nhusb-base-20161204 pgoyette-localcount-20161104 netbsd-7-0-2-RELEASE nick-nhusb-base-20161004 localcount-20160914 netbsd-7-nhusb-base pgoyette-localcount-20160806 pgoyette-localcount-20160726 pgoyette-localcount-base nick-nhusb-base-20160907 nick-nhusb-base-20160529 netbsd-7-0-1-RELEASE nick-nhusb-base-20160422 nick-nhusb-base-20160319 nick-nhusb-base-20151226 netbsd-7-0-RELEASE nick-nhusb-base-20150921 netbsd-7-0-RC3 netbsd-7-0-RC2 netbsd-7-0-RC1 nick-nhusb-base-20150606 nick-nhusb-base-20150406 nick-nhusb-base netbsd-7-base yamt-pagecache-base9 tls-earlyentropy-base riastradh-xf86-video-intel-2-7-1-pre-2-21-15 riastradh-drm2-base3 rmind-smpnet-nbase riastradh-drm2-base2 riastradh-drm2-base1 riastradh-drm2-base rmind-smpnet-base agc-symver-base yamt-pagecache-base8 yamt-pagecache-base7 yamt-pagecache-base6 tls-maxphys-base jmcneill-usbmp-base10 yamt-pagecache-base5 jmcneill-usbmp-base9
# 1.66 22-Apr-2012 khorben

branches: 1.66.32;
Implemented extra keys as found on Sun Type 7 USB keyboards, and
according to the documentation mentioned above in this file.

"works here" macallan@, myself


Revision tags: netbsd-6-0-6-RELEASE netbsd-6-1-5-RELEASE netbsd-6-1-4-RELEASE netbsd-6-0-5-RELEASE netbsd-6-1-3-RELEASE netbsd-6-0-4-RELEASE netbsd-6-1-2-RELEASE netbsd-6-0-3-RELEASE netbsd-6-1-1-RELEASE netbsd-6-0-2-RELEASE netbsd-6-1-RELEASE netbsd-6-1-RC4 netbsd-6-1-RC3 netbsd-6-1-RC2 netbsd-6-1-RC1 netbsd-6-0-1-RELEASE matt-nb6-plus-nbase netbsd-6-0-RELEASE netbsd-6-0-RC2 matt-nb6-plus-base netbsd-6-0-RC1 yamt-pagecache-base4 jmcneill-usbmp-base8 jmcneill-usbmp-base7 jmcneill-usbmp-base6 jmcneill-usbmp-base5 jmcneill-usbmp-base4 jmcneill-usbmp-base3 jmcneill-usbmp-pre-base2 jmcneill-usbmp-base2 netbsd-6-base jmcneill-usbmp-base jmcneill-audiomp3-base yamt-pagecache-base3 yamt-pagecache-base2 yamt-pagecache-base
# 1.65 22-Jul-2011 christos

branches: 1.65.2; 1.65.6;
PR/35473: Wigcher Spanninga: Add Dutch keyboard support to wscons


Revision tags: rmind-uvmplock-nbase cherry-xenmp-base bouyer-quota2-nbase bouyer-quota2-base jruoho-x86intr-base matt-mips64-premerge-20101231 uebayasi-xip-base4 uebayasi-xip-base3 yamt-nfs-mp-base11 uebayasi-xip-base2 yamt-nfs-mp-base10 uebayasi-xip-base1 rmind-uvmplock-base yamt-nfs-mp-base9 uebayasi-xip-base
# 1.64 28-Jan-2010 drochner

-rename the "KS_GROUP_Ascii" key symbol category to "Plain" because
this is what it meant all the time -- it includes characters >127
-delegate translation of all key symbols >127 to the terminal emulation
layer -- formerly everything non-special was passed to the tty subsystem
directly, involving truncation to a "char", which effectively meant
some ISO-1 assumption


Revision tags: matt-premerge-20091211 yamt-nfs-mp-base8 yamt-nfs-mp-base7 jymxensuspend-base yamt-nfs-mp-base6 yamt-nfs-mp-base5 yamt-nfs-mp-base4 jym-xensuspend-nbase yamt-nfs-mp-base3 nick-hppapmap-base4 nick-hppapmap-base3 jym-xensuspend-base nick-hppapmap-base
# 1.63 06-Apr-2009 mkirby

Add a Czech (QWERTY) keyboard layout, and teach wscons about latin 2 characters.

Original code from Lubomir Kundrak, adapted to current and cleaned up by me.

Fixes PR kern/16216

ok agc@ jdc@


Revision tags: nick-hppapmap-base2
# 1.62 18-Feb-2009 snj

s/portugese/portuguese/, spotted by Ari Constancio in PR misc/40202.


Revision tags: netbsd-5-0-2-RELEASE matt-nb5-mips64-premerge-20091211 matt-nb5-mips64-u2-k2-k4-k7-k8-k9 matt-nb4-mips64-k7-u2a-k9b matt-nb5-mips64-u1-k1-k5 netbsd-5-0-1-RELEASE netbsd-5-0-RELEASE netbsd-5-0-RC4 netbsd-5-0-RC3 netbsd-5-0-RC2 netbsd-5-0-RC1 haad-dm-base2 haad-nbase2 ad-audiomp2-base netbsd-5-base matt-mips64-base2 haad-dm-base1 wrstuden-revivesa-base-4 wrstuden-revivesa-base-3 wrstuden-revivesa-base-2 haad-dm-base wrstuden-revivesa-base-1 simonb-wapbl-nbase yamt-pf42-base4 simonb-wapbl-base yamt-pf42-base3 wrstuden-revivesa-base mjf-devfs2-base
# 1.61 21-May-2008 ghen

branches: 1.61.6; 1.61.8; 1.61.12; 1.61.14; 1.61.16;
Add support for the Colemak keyboard layout variant, see http://colemak.com


Revision tags: hpcarm-cleanup-nbase yamt-pf42-base2 yamt-nfs-mp-base2
# 1.60 28-Apr-2008 martin

branches: 1.60.2;
Remove clause 3 and 4 from TNF licenses


Revision tags: yamt-pf42-baseX yamt-nfs-mp-base yamt-pf42-base ad-socklock-base1 yamt-lazymbuf-base15 yamt-lazymbuf-base14 keiichi-mipv6-nbase nick-net80211-sync-base keiichi-mipv6-base bouyer-xeni386-merge1 vmlocking2-base3 bouyer-xeni386-nbase yamt-kmem-base3 cube-autoconf-base yamt-kmem-base2 bouyer-xeni386-base matt-armv6-nbase mjf-devfs-base matt-armv6-base hpcarm-cleanup-base
# 1.59 09-Dec-2007 jmcneill

branches: 1.59.10; 1.59.12; 1.59.14;
Merge jmcneill-pm branch.


Revision tags: nick-csl-alignment-base5 matt-armv6-prevmlocking yamt-kmem-base vmlocking2-base2 reinoud-bufcleanup-nbase vmlocking2-base1 jmcneill-base bouyer-xenamd64-base2 vmlocking-nbase yamt-x86pmap-base4 bouyer-xenamd64-base yamt-x86pmap-base3 yamt-x86pmap-base2 yamt-x86pmap-base matt-mips64-base jmcneill-pm-base nick-csl-alignment-base yamt-idlelwp-base8 thorpej-atomic-base reinoud-bufcleanup-base mjf-ufs-trans-base vmlocking-base
# 1.58 04-Apr-2007 mishka

branches: 1.58.8; 1.58.10; 1.58.18; 1.58.20;
Revert previous commit until further investigation because it is
known as problematic. Some problems obscured are dead Del key (I
can reproduce this with wscons scroll support) and panic (seen by
<elad> only).


# 1.57 02-Apr-2007 mishka

Implement locking switcher for alternative layots (many languages
are based on completely different alphabet, and typesetting with
one of modifiers pressed all the time is just a PITA). See
http://mail-index.netbsd.org/tech-kern/2007/03/29/0002.html for
usage details.

While here, perform the following small cleanups:
- KS_Cmd_Scroll* execution should be explicitly interrupted with 'break'.
- Some 'human' cleanups in ksym extraction algorithm (no func. changes).
- Add a note: implemented ksym translation isn't sufficient for l10n.


Revision tags: netbsd-4-0-1-RELEASE wrstuden-fixsa-base-1 netbsd-4-0-RELEASE netbsd-4-0-RC5 matt-nb4-arm-base netbsd-4-0-RC4 netbsd-4-0-RC3 netbsd-4-0-RC2 netbsd-4-0-RC1 ad-audiomp-base post-newlock2-merge newlock2-nbase yamt-splraiseipl-base5 yamt-splraiseipl-base4 yamt-splraiseipl-base3 abandoned-netbsd-4-base yamt-splraiseipl-base2 yamt-splraiseipl-base yamt-pdpolicy-base9 newlock2-base yamt-pdpolicy-base8 yamt-pdpolicy-base7 netbsd-4-base yamt-pdpolicy-base6 chap-midi-nbase gdamore-uart-base yamt-pdpolicy-base5 chap-midi-base yamt-pdpolicy-base4 elad-kernelauth-base simonb-timecounters-base rpaulo-netinet-merge-pcb-base
# 1.56 01-Apr-2006 christos

branches: 1.56.12; 1.56.20; 1.56.24;
Greek console keymap from Eye of the Beholder


Revision tags: yamt-pdpolicy-base3 peter-altq-base yamt-pdpolicy-base2 yamt-pdpolicy-base yamt-uio_vmspace-base5
# 1.55 11-Dec-2005 christos

branches: 1.55.4; 1.55.6; 1.55.8; 1.55.10; 1.55.12;
merge ktrace-lwp.


Revision tags: yamt-readahead-base3 yamt-readahead-base2 yamt-readahead-pervnode yamt-readahead-perfile yamt-readahead-base yamt-vop-base3 yamt-vop-base2 thorpej-vnode-attr-base yamt-vop-base ktrace-lwp-base
# 1.54 08-Jun-2005 martin

branches: 1.54.2;
Add a key symbol for the "Power" key.


# 1.53 30-Apr-2005 augustss

Remember what keyboard layout is set in the mux, that way new keyboards
can be given the same layout. Fixes kern/19153.


Revision tags: kent-audio2-base
# 1.52 04-Apr-2005 martti

s/Finish/Finnish/


Revision tags: yamt-km-base4 yamt-km-base3 netbsd-3-base
# 1.51 08-Mar-2005 dsl

branches: 1.51.2;
Change the wa ythe KB_xxx and KB_ENCTAB are defined so we have all the
data for a single keyboard on one line - including the long name and
default modifiers that sysinst needs.


Revision tags: yamt-km-base2 yamt-km-base kent-audio1-beforemerge kent-audio1-base
# 1.50 02-Dec-2004 hubertf

branches: 1.50.4; 1.50.6;
Try to document keymap names - this really a trip into the obscure.
XXX someone please review!


# 1.49 28-May-2004 christos

PR/19925: David Ferlier: Add scrolling support to wscons.


# 1.48 13-May-2004 pooka

Add el-cheapo finnish encoding, i.e. make the name "fi" point to
the swedish keymap, which actually gets set.

inspired by wiz
keymap name blessed by Klaus


Revision tags: netbsd-2-0-base nathanw_sa_before_merge fvdl_fs64_base gmcgarry_ctxsw_base gmcgarry_ucred_base nathanw_sa_base
# 1.47 25-Nov-2002 fvdl

branches: 1.47.6; 1.47.8;
Add 'U' to 16-bit hex constants to stop gcc 3.3 from complaining. Shouldn't
really be needed, but.. (from scw and thorpej).


# 1.46 25-Oct-2002 martin

Add a few symbols.


Revision tags: netbsd-1-6-PATCH002-RELEASE netbsd-1-6-PATCH002 netbsd-1-6-PATCH002-RC4 netbsd-1-6-PATCH002-RC3 netbsd-1-6-PATCH002-RC2 netbsd-1-6-PATCH002-RC1 netbsd-1-6-PATCH001 netbsd-1-6-PATCH001-RELEASE netbsd-1-6-PATCH001-RC3 netbsd-1-6-PATCH001-RC2 netbsd-1-6-PATCH001-RC1 kqueue-aftermerge kqueue-beforemerge netbsd-1-6-RELEASE netbsd-1-6-RC3 netbsd-1-6-RC2 netbsd-1-6-RC1 netbsd-1-6-base gehenna-devsw-base kqueue-base
# 1.45 23-Apr-2002 hannken

Remove the cyrillic keysyms. This was not done the right way.
Will come back after 1.6 has branched.

Approved by: Matthias Drochner <drochner@netbsd.org>


# 1.44 24-Mar-2002 uwe

Sync most Cyrillic names with X11 keysym names.


Revision tags: eeh-devprop-base
# 1.43 17-Mar-2002 augustss

Add Cyrillic keysyms. From OpenBSD.


# 1.42 17-Mar-2002 augustss

Don't forget the symbolc names for the keymaps.


# 1.41 17-Mar-2002 augustss

Add more language map definitions.


Revision tags: newlock-base ifpoll-base thorpej-mips-cache-base
# 1.40 11-Nov-2001 martin

Add polish keyboard map, from Dawid Szyma_ski <dawszy@netbsd.lubin.pl>.


Revision tags: thorpej-devvp-base3 thorpej-devvp-base2 post-chs-ubcperf pre-chs-ubcperf thorpej-devvp-base thorpej_scsipi_beforemerge thorpej_scsipi_nbase thorpej_scsipi_base
# 1.39 05-Dec-2000 drochner

branches: 1.39.2; 1.39.4; 1.39.8;
add some missing definitions for hungarian keymap support
(It won't help much since there is no way to get characters not in
iso-1 or the function key set through the vt100/sun/dumb terminal
emulations:-(


# 1.38 13-Oct-2000 mjl

Revert previous since the finnish keymap is already present under
the name "sv". Note to myself: Read PRs completely before acting.
Note to Santa Claus: I want a mailing list that carries all follow
ups to PRs!


# 1.37 12-Oct-2000 mjl

Add finnish keymap, from Heikki Kallasjoki in PR/11186.


# 1.36 01-Oct-2000 takemura

- Add ioctl commands to wsdisplay which set/get some LCD status,
backlight, brightness and contrast.
- Add 9 command key symbols which make wskbd to call wsdisplay's
iocontrol.
- Add special key map variant KB_MACHDEP. This variant does not
have any real keymap but it's just a placeholder for machine dependent
maps which will be overwrite by machine dependent keyboard driver.


# 1.35 06-Jul-2000 hannken

Change type `kbd_t' from `u_int_16_t' to `u_int32_t'.
This eliminates bogus casts from `int *' to `u_int_16_t*'.


Revision tags: netbsd-1-5-base minoura-xpg4dl-base
# 1.34 19-May-2000 drochner

branches: 1.34.4;
define spanish keymap


# 1.33 13-May-2000 bjh21

Oops. Swedish is KB_SV.


# 1.32 13-May-2000 bjh21

Add keypad-# and Swedish layout


# 1.31 14-Apr-2000 tsarna

Add an "iopener" keymap variant, giving us.iopener and
us.iopener.swapctrlcaps. This makes F1 ("Back") into Escape, and shifts
the other keys over by one, so F2-F12 ("Forward"-"Home") become F1-F11.


# 1.30 19-Mar-2000 tsarna

Make clearer. IMHO, all of this code should stop referring to Control-L
and Control-R, since those suggest ^L and ^R, not Left and Right Control.


# 1.29 19-Mar-2000 tsarna

Correct a comment


# 1.28 05-Mar-2000 soren

Add Norwegian keymap from Haavard Lygre.


Revision tags: chs-ubc2-newbase wrstuden-devbsize-19991221 wrstuden-devbsize-base
# 1.27 21-Dec-1999 drochner

introduce a METAESC keyboard variant bit


Revision tags: fvdl-softdep-base
# 1.26 10-Nov-1999 drochner

allow to set multiple keyboard "variants" simultanously.
Follows PR kern/8456 by Michael Eriksson <eramore@era-t.ericsson.se>,
implemented diffently.


Revision tags: comdex-fall-1999-base chs-ubc2-base
# 1.25 11-May-1999 drochner

branches: 1.25.2; 1.25.4; 1.25.8;
define swedish layout and "dvorak" variant


Revision tags: kame_141_19991130 netbsd-1-4-PATCH001 kame_14_19990705 kame_14_19990628 netbsd-1-4-RELEASE netbsd-1-4-base
# 1.24 12-Feb-1999 drochner

branches: 1.24.2; 1.24.4;
"NEXT" is a keyboard type, not a keymap variation.


# 1.23 28-Jan-1999 dbj

wscons based console video & keyboard support for the NeXT
from Matt DeBergalis


# 1.22 23-Jan-1999 drochner

add definitions for the additional modifiers on japanese keyboards
(These are not of use for wscons, but we want to give names to the keys
at least.)


# 1.21 17-Jan-1999 drochner

define a "close everything" keyboard command


# 1.20 15-Jan-1999 drochner

add definition for japanese keyboard


# 1.19 14-Jan-1999 drochner

add a "reset terminal emulator" command pseudo-keysym and call the
corresponding callback if one is hit


# 1.18 10-Jan-1999 augustss

Rename the "windows" keys and add the new keys to the keyboard maps.


# 1.17 10-Jan-1999 augustss

Add definitions for Pause and Print_Screen keys.
(Why were these keys missing? Or am I missing something obvious here?)


# 1.16 10-Jan-1999 augustss

Add definitions for left and right "Windows" keys and menu key.


# 1.15 09-Jan-1999 drochner

add a definition for the "swap ctl and caps" option


# 1.14 06-Jan-1999 drochner

add definition for british keyboard


# 1.13 28-Dec-1998 hannken

Prepare for wsconsctrl:
- clean up keycode defines.
- allow easy parse of wsksymdef.h.
- add misssing KB_IT entry.
- set layout to KB_USER after ioctl WSKBDIO_SETMAP.


Revision tags: kenh-if-detach-base chs-ubc-base
# 1.12 03-Oct-1998 drochner

add definition for french keyboard


# 1.11 17-Sep-1998 drochner

Add option bit which covers the delta between LK201 and LK401.


# 1.10 01-Sep-1998 drochner

add definition for italian keyboard


Revision tags: eeh-paddr_t-base
# 1.9 15-Jul-1998 drochner

rename "LK" -> "declk" for consistency


# 1.8 14-Jul-1998 drochner

support keyboards with PC interface and DEC layout (LK461)


# 1.7 16-Jun-1998 drochner

add missing keys for vt100


# 1.6 20-Apr-1998 hannken

Undo change from drochner (Rev 1.4 of wsksymdef.h) and fix PR #5298 and #5299.


# 1.5 18-Apr-1998 drochner

Add danish keymap.
From Soren S. Jorvang (PR kern/5312).


# 1.4 16-Apr-1998 drochner

Don't use KS_GROUP_xxx values which have set something in the lower
8 bits. This allows to OR them with keycodes.
This is probably a workaround for namespace confusion happening else-
where (in wskbdutil.c:ksym_upcase() perhaps?), but it helps without
too much digging into the details.


# 1.3 07-Apr-1998 hannken

Fix typo.


# 1.2 07-Apr-1998 hannken

Oops. Forgot RCS ident and copyright.


# 1.1 07-Apr-1998 hannken

Initial import of MI keyboard translation for dev/wscons.


# 1.73 13-Jul-2020 nia

Clarify that KB_TR is the "Q" layout - there's two standards for Turkish.


# 1.72 13-Jul-2020 nia

Canadian French keyboard layout for ukbd/pckbd


# 1.71 13-Jul-2020 nia

Add keyboard layout for Latin American Spanish to ukbd/pckbd


# 1.70 12-Jul-2020 nia

Add Icelandic keyboard layout to ukbd/pckbd.


# 1.69 12-Jul-2020 nia

Add Estonian layout as a variation of Swedish for ukbd and pckbd


# 1.68 12-Jul-2020 nia

Add support for the Brazilian keyboard layout to pckbd and ukbd.

This is significantly different from the European Portugese layout,
and was pieced together from Wikipedia, X11 layout files, and to
some extent with trial and error.

Thanks to lun-4 for helping test this.

PR kern/44570


Revision tags: bouyer-xenpvh-base2 phil-wifi-20200421 bouyer-xenpvh-base1 phil-wifi-20200411 bouyer-xenpvh-base is-mlppp-base phil-wifi-20200406 ad-namecache-base3 netbsd-9-0-RELEASE netbsd-9-0-RC2 ad-namecache-base2 ad-namecache-base1 ad-namecache-base netbsd-9-0-RC1 phil-wifi-20191119 netbsd-9-base phil-wifi-20190609 isaki-audio2-base pgoyette-compat-merge-20190127 pgoyette-compat-20190127 pgoyette-compat-20190118 pgoyette-compat-1226 pgoyette-compat-1126 pgoyette-compat-1020 pgoyette-compat-0930 pgoyette-compat-0906 jdolecek-ncqfixes-base pgoyette-compat-0728 phil-wifi-base pgoyette-compat-0625 pgoyette-compat-0521 pgoyette-compat-0502 pgoyette-compat-0422 pgoyette-compat-0415 pgoyette-compat-0407 pgoyette-compat-0330 pgoyette-compat-0322 pgoyette-compat-0315 pgoyette-compat-base
# 1.67 19-Feb-2018 maya

branches: 1.67.10;
Add Turkish keyboard layout.

from berte in PR kern/53011.


Revision tags: netbsd-7-2-RELEASE netbsd-7-1-2-RELEASE netbsd-7-1-1-RELEASE tls-maxphys-base-20171202 matt-nb8-mediatek-base nick-nhusb-base-20170825 perseant-stdc-iso10646-base netbsd-8-base prg-localcount2-base3 prg-localcount2-base2 prg-localcount2-base1 prg-localcount2-base pgoyette-localcount-20170426 bouyer-socketcan-base1 jdolecek-ncq-base pgoyette-localcount-20170320 netbsd-7-1-RELEASE netbsd-7-1-RC2 nick-nhusb-base-20170204 netbsd-7-nhusb-base-20170116 bouyer-socketcan-base pgoyette-localcount-20170107 netbsd-7-1-RC1 nick-nhusb-base-20161204 pgoyette-localcount-20161104 netbsd-7-0-2-RELEASE nick-nhusb-base-20161004 localcount-20160914 netbsd-7-nhusb-base pgoyette-localcount-20160806 pgoyette-localcount-20160726 pgoyette-localcount-base nick-nhusb-base-20160907 nick-nhusb-base-20160529 netbsd-7-0-1-RELEASE nick-nhusb-base-20160422 nick-nhusb-base-20160319 nick-nhusb-base-20151226 netbsd-7-0-RELEASE nick-nhusb-base-20150921 netbsd-7-0-RC3 netbsd-7-0-RC2 netbsd-7-0-RC1 nick-nhusb-base-20150606 nick-nhusb-base-20150406 nick-nhusb-base netbsd-7-base yamt-pagecache-base9 tls-earlyentropy-base riastradh-xf86-video-intel-2-7-1-pre-2-21-15 riastradh-drm2-base3 rmind-smpnet-nbase riastradh-drm2-base2 riastradh-drm2-base1 riastradh-drm2-base rmind-smpnet-base agc-symver-base yamt-pagecache-base8 yamt-pagecache-base7 yamt-pagecache-base6 tls-maxphys-base jmcneill-usbmp-base10 yamt-pagecache-base5 jmcneill-usbmp-base9
# 1.66 22-Apr-2012 khorben

branches: 1.66.32;
Implemented extra keys as found on Sun Type 7 USB keyboards, and
according to the documentation mentioned above in this file.

"works here" macallan@, myself


Revision tags: netbsd-6-0-6-RELEASE netbsd-6-1-5-RELEASE netbsd-6-1-4-RELEASE netbsd-6-0-5-RELEASE netbsd-6-1-3-RELEASE netbsd-6-0-4-RELEASE netbsd-6-1-2-RELEASE netbsd-6-0-3-RELEASE netbsd-6-1-1-RELEASE netbsd-6-0-2-RELEASE netbsd-6-1-RELEASE netbsd-6-1-RC4 netbsd-6-1-RC3 netbsd-6-1-RC2 netbsd-6-1-RC1 netbsd-6-0-1-RELEASE matt-nb6-plus-nbase netbsd-6-0-RELEASE netbsd-6-0-RC2 matt-nb6-plus-base netbsd-6-0-RC1 yamt-pagecache-base4 jmcneill-usbmp-base8 jmcneill-usbmp-base7 jmcneill-usbmp-base6 jmcneill-usbmp-base5 jmcneill-usbmp-base4 jmcneill-usbmp-base3 jmcneill-usbmp-pre-base2 jmcneill-usbmp-base2 netbsd-6-base jmcneill-usbmp-base jmcneill-audiomp3-base yamt-pagecache-base3 yamt-pagecache-base2 yamt-pagecache-base
# 1.65 22-Jul-2011 christos

branches: 1.65.2; 1.65.6;
PR/35473: Wigcher Spanninga: Add Dutch keyboard support to wscons


Revision tags: rmind-uvmplock-nbase cherry-xenmp-base bouyer-quota2-nbase bouyer-quota2-base jruoho-x86intr-base matt-mips64-premerge-20101231 uebayasi-xip-base4 uebayasi-xip-base3 yamt-nfs-mp-base11 uebayasi-xip-base2 yamt-nfs-mp-base10 uebayasi-xip-base1 rmind-uvmplock-base yamt-nfs-mp-base9 uebayasi-xip-base
# 1.64 28-Jan-2010 drochner

-rename the "KS_GROUP_Ascii" key symbol category to "Plain" because
this is what it meant all the time -- it includes characters >127
-delegate translation of all key symbols >127 to the terminal emulation
layer -- formerly everything non-special was passed to the tty subsystem
directly, involving truncation to a "char", which effectively meant
some ISO-1 assumption


Revision tags: matt-premerge-20091211 yamt-nfs-mp-base8 yamt-nfs-mp-base7 jymxensuspend-base yamt-nfs-mp-base6 yamt-nfs-mp-base5 yamt-nfs-mp-base4 jym-xensuspend-nbase yamt-nfs-mp-base3 nick-hppapmap-base4 nick-hppapmap-base3 jym-xensuspend-base nick-hppapmap-base
# 1.63 06-Apr-2009 mkirby

Add a Czech (QWERTY) keyboard layout, and teach wscons about latin 2 characters.

Original code from Lubomir Kundrak, adapted to current and cleaned up by me.

Fixes PR kern/16216

ok agc@ jdc@


Revision tags: nick-hppapmap-base2
# 1.62 18-Feb-2009 snj

s/portugese/portuguese/, spotted by Ari Constancio in PR misc/40202.


Revision tags: netbsd-5-0-2-RELEASE matt-nb5-mips64-premerge-20091211 matt-nb5-mips64-u2-k2-k4-k7-k8-k9 matt-nb4-mips64-k7-u2a-k9b matt-nb5-mips64-u1-k1-k5 netbsd-5-0-1-RELEASE netbsd-5-0-RELEASE netbsd-5-0-RC4 netbsd-5-0-RC3 netbsd-5-0-RC2 netbsd-5-0-RC1 haad-dm-base2 haad-nbase2 ad-audiomp2-base netbsd-5-base matt-mips64-base2 haad-dm-base1 wrstuden-revivesa-base-4 wrstuden-revivesa-base-3 wrstuden-revivesa-base-2 haad-dm-base wrstuden-revivesa-base-1 simonb-wapbl-nbase yamt-pf42-base4 simonb-wapbl-base yamt-pf42-base3 wrstuden-revivesa-base mjf-devfs2-base
# 1.61 21-May-2008 ghen

branches: 1.61.6; 1.61.8; 1.61.12; 1.61.14; 1.61.16;
Add support for the Colemak keyboard layout variant, see http://colemak.com


Revision tags: hpcarm-cleanup-nbase yamt-pf42-base2 yamt-nfs-mp-base2
# 1.60 28-Apr-2008 martin

branches: 1.60.2;
Remove clause 3 and 4 from TNF licenses


Revision tags: yamt-pf42-baseX yamt-nfs-mp-base yamt-pf42-base ad-socklock-base1 yamt-lazymbuf-base15 yamt-lazymbuf-base14 keiichi-mipv6-nbase nick-net80211-sync-base keiichi-mipv6-base bouyer-xeni386-merge1 vmlocking2-base3 bouyer-xeni386-nbase yamt-kmem-base3 cube-autoconf-base yamt-kmem-base2 bouyer-xeni386-base matt-armv6-nbase mjf-devfs-base matt-armv6-base hpcarm-cleanup-base
# 1.59 09-Dec-2007 jmcneill

branches: 1.59.10; 1.59.12; 1.59.14;
Merge jmcneill-pm branch.


Revision tags: nick-csl-alignment-base5 matt-armv6-prevmlocking yamt-kmem-base vmlocking2-base2 reinoud-bufcleanup-nbase vmlocking2-base1 jmcneill-base bouyer-xenamd64-base2 vmlocking-nbase yamt-x86pmap-base4 bouyer-xenamd64-base yamt-x86pmap-base3 yamt-x86pmap-base2 yamt-x86pmap-base matt-mips64-base jmcneill-pm-base nick-csl-alignment-base yamt-idlelwp-base8 thorpej-atomic-base reinoud-bufcleanup-base mjf-ufs-trans-base vmlocking-base
# 1.58 04-Apr-2007 mishka

branches: 1.58.8; 1.58.10; 1.58.18; 1.58.20;
Revert previous commit until further investigation because it is
known as problematic. Some problems obscured are dead Del key (I
can reproduce this with wscons scroll support) and panic (seen by
<elad> only).


# 1.57 02-Apr-2007 mishka

Implement locking switcher for alternative layots (many languages
are based on completely different alphabet, and typesetting with
one of modifiers pressed all the time is just a PITA). See
http://mail-index.netbsd.org/tech-kern/2007/03/29/0002.html for
usage details.

While here, perform the following small cleanups:
- KS_Cmd_Scroll* execution should be explicitly interrupted with 'break'.
- Some 'human' cleanups in ksym extraction algorithm (no func. changes).
- Add a note: implemented ksym translation isn't sufficient for l10n.


Revision tags: netbsd-4-0-1-RELEASE wrstuden-fixsa-base-1 netbsd-4-0-RELEASE netbsd-4-0-RC5 matt-nb4-arm-base netbsd-4-0-RC4 netbsd-4-0-RC3 netbsd-4-0-RC2 netbsd-4-0-RC1 ad-audiomp-base post-newlock2-merge newlock2-nbase yamt-splraiseipl-base5 yamt-splraiseipl-base4 yamt-splraiseipl-base3 abandoned-netbsd-4-base yamt-splraiseipl-base2 yamt-splraiseipl-base yamt-pdpolicy-base9 newlock2-base yamt-pdpolicy-base8 yamt-pdpolicy-base7 netbsd-4-base yamt-pdpolicy-base6 chap-midi-nbase gdamore-uart-base yamt-pdpolicy-base5 chap-midi-base yamt-pdpolicy-base4 elad-kernelauth-base simonb-timecounters-base rpaulo-netinet-merge-pcb-base
# 1.56 01-Apr-2006 christos

branches: 1.56.12; 1.56.20; 1.56.24;
Greek console keymap from Eye of the Beholder


Revision tags: yamt-pdpolicy-base3 peter-altq-base yamt-pdpolicy-base2 yamt-pdpolicy-base yamt-uio_vmspace-base5
# 1.55 11-Dec-2005 christos

branches: 1.55.4; 1.55.6; 1.55.8; 1.55.10; 1.55.12;
merge ktrace-lwp.


Revision tags: yamt-readahead-base3 yamt-readahead-base2 yamt-readahead-pervnode yamt-readahead-perfile yamt-readahead-base yamt-vop-base3 yamt-vop-base2 thorpej-vnode-attr-base yamt-vop-base ktrace-lwp-base
# 1.54 08-Jun-2005 martin

branches: 1.54.2;
Add a key symbol for the "Power" key.


# 1.53 30-Apr-2005 augustss

Remember what keyboard layout is set in the mux, that way new keyboards
can be given the same layout. Fixes kern/19153.


Revision tags: kent-audio2-base
# 1.52 04-Apr-2005 martti

s/Finish/Finnish/


Revision tags: yamt-km-base4 yamt-km-base3 netbsd-3-base
# 1.51 08-Mar-2005 dsl

branches: 1.51.2;
Change the wa ythe KB_xxx and KB_ENCTAB are defined so we have all the
data for a single keyboard on one line - including the long name and
default modifiers that sysinst needs.


Revision tags: yamt-km-base2 yamt-km-base kent-audio1-beforemerge kent-audio1-base
# 1.50 02-Dec-2004 hubertf

branches: 1.50.4; 1.50.6;
Try to document keymap names - this really a trip into the obscure.
XXX someone please review!


# 1.49 28-May-2004 christos

PR/19925: David Ferlier: Add scrolling support to wscons.


# 1.48 13-May-2004 pooka

Add el-cheapo finnish encoding, i.e. make the name "fi" point to
the swedish keymap, which actually gets set.

inspired by wiz
keymap name blessed by Klaus


Revision tags: netbsd-2-0-base nathanw_sa_before_merge fvdl_fs64_base gmcgarry_ctxsw_base gmcgarry_ucred_base nathanw_sa_base
# 1.47 25-Nov-2002 fvdl

branches: 1.47.6; 1.47.8;
Add 'U' to 16-bit hex constants to stop gcc 3.3 from complaining. Shouldn't
really be needed, but.. (from scw and thorpej).


# 1.46 25-Oct-2002 martin

Add a few symbols.


Revision tags: netbsd-1-6-PATCH002-RELEASE netbsd-1-6-PATCH002 netbsd-1-6-PATCH002-RC4 netbsd-1-6-PATCH002-RC3 netbsd-1-6-PATCH002-RC2 netbsd-1-6-PATCH002-RC1 netbsd-1-6-PATCH001 netbsd-1-6-PATCH001-RELEASE netbsd-1-6-PATCH001-RC3 netbsd-1-6-PATCH001-RC2 netbsd-1-6-PATCH001-RC1 kqueue-aftermerge kqueue-beforemerge netbsd-1-6-RELEASE netbsd-1-6-RC3 netbsd-1-6-RC2 netbsd-1-6-RC1 netbsd-1-6-base gehenna-devsw-base kqueue-base
# 1.45 23-Apr-2002 hannken

Remove the cyrillic keysyms. This was not done the right way.
Will come back after 1.6 has branched.

Approved by: Matthias Drochner <drochner@netbsd.org>


# 1.44 24-Mar-2002 uwe

Sync most Cyrillic names with X11 keysym names.


Revision tags: eeh-devprop-base
# 1.43 17-Mar-2002 augustss

Add Cyrillic keysyms. From OpenBSD.


# 1.42 17-Mar-2002 augustss

Don't forget the symbolc names for the keymaps.


# 1.41 17-Mar-2002 augustss

Add more language map definitions.


Revision tags: newlock-base ifpoll-base thorpej-mips-cache-base
# 1.40 11-Nov-2001 martin

Add polish keyboard map, from Dawid Szyma_ski <dawszy@netbsd.lubin.pl>.


Revision tags: thorpej-devvp-base3 thorpej-devvp-base2 post-chs-ubcperf pre-chs-ubcperf thorpej-devvp-base thorpej_scsipi_beforemerge thorpej_scsipi_nbase thorpej_scsipi_base
# 1.39 05-Dec-2000 drochner

branches: 1.39.2; 1.39.4; 1.39.8;
add some missing definitions for hungarian keymap support
(It won't help much since there is no way to get characters not in
iso-1 or the function key set through the vt100/sun/dumb terminal
emulations:-(


# 1.38 13-Oct-2000 mjl

Revert previous since the finnish keymap is already present under
the name "sv". Note to myself: Read PRs completely before acting.
Note to Santa Claus: I want a mailing list that carries all follow
ups to PRs!


# 1.37 12-Oct-2000 mjl

Add finnish keymap, from Heikki Kallasjoki in PR/11186.


# 1.36 01-Oct-2000 takemura

- Add ioctl commands to wsdisplay which set/get some LCD status,
backlight, brightness and contrast.
- Add 9 command key symbols which make wskbd to call wsdisplay's
iocontrol.
- Add special key map variant KB_MACHDEP. This variant does not
have any real keymap but it's just a placeholder for machine dependent
maps which will be overwrite by machine dependent keyboard driver.


# 1.35 06-Jul-2000 hannken

Change type `kbd_t' from `u_int_16_t' to `u_int32_t'.
This eliminates bogus casts from `int *' to `u_int_16_t*'.


Revision tags: netbsd-1-5-base minoura-xpg4dl-base
# 1.34 19-May-2000 drochner

branches: 1.34.4;
define spanish keymap


# 1.33 13-May-2000 bjh21

Oops. Swedish is KB_SV.


# 1.32 13-May-2000 bjh21

Add keypad-# and Swedish layout


# 1.31 14-Apr-2000 tsarna

Add an "iopener" keymap variant, giving us.iopener and
us.iopener.swapctrlcaps. This makes F1 ("Back") into Escape, and shifts
the other keys over by one, so F2-F12 ("Forward"-"Home") become F1-F11.


# 1.30 19-Mar-2000 tsarna

Make clearer. IMHO, all of this code should stop referring to Control-L
and Control-R, since those suggest ^L and ^R, not Left and Right Control.


# 1.29 19-Mar-2000 tsarna

Correct a comment


# 1.28 05-Mar-2000 soren

Add Norwegian keymap from Haavard Lygre.


Revision tags: chs-ubc2-newbase wrstuden-devbsize-19991221 wrstuden-devbsize-base
# 1.27 21-Dec-1999 drochner

introduce a METAESC keyboard variant bit


Revision tags: fvdl-softdep-base
# 1.26 10-Nov-1999 drochner

allow to set multiple keyboard "variants" simultanously.
Follows PR kern/8456 by Michael Eriksson <eramore@era-t.ericsson.se>,
implemented diffently.


Revision tags: comdex-fall-1999-base chs-ubc2-base
# 1.25 11-May-1999 drochner

branches: 1.25.2; 1.25.4; 1.25.8;
define swedish layout and "dvorak" variant


Revision tags: kame_141_19991130 netbsd-1-4-PATCH001 kame_14_19990705 kame_14_19990628 netbsd-1-4-RELEASE netbsd-1-4-base
# 1.24 12-Feb-1999 drochner

branches: 1.24.2; 1.24.4;
"NEXT" is a keyboard type, not a keymap variation.


# 1.23 28-Jan-1999 dbj

wscons based console video & keyboard support for the NeXT
from Matt DeBergalis


# 1.22 23-Jan-1999 drochner

add definitions for the additional modifiers on japanese keyboards
(These are not of use for wscons, but we want to give names to the keys
at least.)


# 1.21 17-Jan-1999 drochner

define a "close everything" keyboard command


# 1.20 15-Jan-1999 drochner

add definition for japanese keyboard


# 1.19 14-Jan-1999 drochner

add a "reset terminal emulator" command pseudo-keysym and call the
corresponding callback if one is hit


# 1.18 10-Jan-1999 augustss

Rename the "windows" keys and add the new keys to the keyboard maps.


# 1.17 10-Jan-1999 augustss

Add definitions for Pause and Print_Screen keys.
(Why were these keys missing? Or am I missing something obvious here?)


# 1.16 10-Jan-1999 augustss

Add definitions for left and right "Windows" keys and menu key.


# 1.15 09-Jan-1999 drochner

add a definition for the "swap ctl and caps" option


# 1.14 06-Jan-1999 drochner

add definition for british keyboard


# 1.13 28-Dec-1998 hannken

Prepare for wsconsctrl:
- clean up keycode defines.
- allow easy parse of wsksymdef.h.
- add misssing KB_IT entry.
- set layout to KB_USER after ioctl WSKBDIO_SETMAP.


Revision tags: kenh-if-detach-base chs-ubc-base
# 1.12 03-Oct-1998 drochner

add definition for french keyboard


# 1.11 17-Sep-1998 drochner

Add option bit which covers the delta between LK201 and LK401.


# 1.10 01-Sep-1998 drochner

add definition for italian keyboard


Revision tags: eeh-paddr_t-base
# 1.9 15-Jul-1998 drochner

rename "LK" -> "declk" for consistency


# 1.8 14-Jul-1998 drochner

support keyboards with PC interface and DEC layout (LK461)


# 1.7 16-Jun-1998 drochner

add missing keys for vt100


# 1.6 20-Apr-1998 hannken

Undo change from drochner (Rev 1.4 of wsksymdef.h) and fix PR #5298 and #5299.


# 1.5 18-Apr-1998 drochner

Add danish keymap.
From Soren S. Jorvang (PR kern/5312).


# 1.4 16-Apr-1998 drochner

Don't use KS_GROUP_xxx values which have set something in the lower
8 bits. This allows to OR them with keycodes.
This is probably a workaround for namespace confusion happening else-
where (in wskbdutil.c:ksym_upcase() perhaps?), but it helps without
too much digging into the details.


# 1.3 07-Apr-1998 hannken

Fix typo.


# 1.2 07-Apr-1998 hannken

Oops. Forgot RCS ident and copyright.


# 1.1 07-Apr-1998 hannken

Initial import of MI keyboard translation for dev/wscons.


# 1.70 12-Jul-2020 nia

Add Icelandic keyboard layout to ukbd/pckbd.


# 1.69 12-Jul-2020 nia

Add Estonian layout as a variation of Swedish for ukbd and pckbd


# 1.68 12-Jul-2020 nia

Add support for the Brazilian keyboard layout to pckbd and ukbd.

This is significantly different from the European Portugese layout,
and was pieced together from Wikipedia, X11 layout files, and to
some extent with trial and error.

Thanks to lun-4 for helping test this.

PR kern/44570


Revision tags: bouyer-xenpvh-base2 phil-wifi-20200421 bouyer-xenpvh-base1 phil-wifi-20200411 bouyer-xenpvh-base is-mlppp-base phil-wifi-20200406 ad-namecache-base3 netbsd-9-0-RELEASE netbsd-9-0-RC2 ad-namecache-base2 ad-namecache-base1 ad-namecache-base netbsd-9-0-RC1 phil-wifi-20191119 netbsd-9-base phil-wifi-20190609 isaki-audio2-base pgoyette-compat-merge-20190127 pgoyette-compat-20190127 pgoyette-compat-20190118 pgoyette-compat-1226 pgoyette-compat-1126 pgoyette-compat-1020 pgoyette-compat-0930 pgoyette-compat-0906 jdolecek-ncqfixes-base pgoyette-compat-0728 phil-wifi-base pgoyette-compat-0625 pgoyette-compat-0521 pgoyette-compat-0502 pgoyette-compat-0422 pgoyette-compat-0415 pgoyette-compat-0407 pgoyette-compat-0330 pgoyette-compat-0322 pgoyette-compat-0315 pgoyette-compat-base
# 1.67 19-Feb-2018 maya

Add Turkish keyboard layout.

from berte in PR kern/53011.


Revision tags: netbsd-7-2-RELEASE netbsd-7-1-2-RELEASE netbsd-7-1-1-RELEASE tls-maxphys-base-20171202 matt-nb8-mediatek-base nick-nhusb-base-20170825 perseant-stdc-iso10646-base netbsd-8-base prg-localcount2-base3 prg-localcount2-base2 prg-localcount2-base1 prg-localcount2-base pgoyette-localcount-20170426 bouyer-socketcan-base1 jdolecek-ncq-base pgoyette-localcount-20170320 netbsd-7-1-RELEASE netbsd-7-1-RC2 nick-nhusb-base-20170204 netbsd-7-nhusb-base-20170116 bouyer-socketcan-base pgoyette-localcount-20170107 netbsd-7-1-RC1 nick-nhusb-base-20161204 pgoyette-localcount-20161104 netbsd-7-0-2-RELEASE nick-nhusb-base-20161004 localcount-20160914 netbsd-7-nhusb-base pgoyette-localcount-20160806 pgoyette-localcount-20160726 pgoyette-localcount-base nick-nhusb-base-20160907 nick-nhusb-base-20160529 netbsd-7-0-1-RELEASE nick-nhusb-base-20160422 nick-nhusb-base-20160319 nick-nhusb-base-20151226 netbsd-7-0-RELEASE nick-nhusb-base-20150921 netbsd-7-0-RC3 netbsd-7-0-RC2 netbsd-7-0-RC1 nick-nhusb-base-20150606 nick-nhusb-base-20150406 nick-nhusb-base netbsd-7-base yamt-pagecache-base9 tls-earlyentropy-base riastradh-xf86-video-intel-2-7-1-pre-2-21-15 riastradh-drm2-base3 rmind-smpnet-nbase riastradh-drm2-base2 riastradh-drm2-base1 riastradh-drm2-base rmind-smpnet-base agc-symver-base yamt-pagecache-base8 yamt-pagecache-base7 yamt-pagecache-base6 tls-maxphys-base jmcneill-usbmp-base10 yamt-pagecache-base5 jmcneill-usbmp-base9
# 1.66 22-Apr-2012 khorben

branches: 1.66.32;
Implemented extra keys as found on Sun Type 7 USB keyboards, and
according to the documentation mentioned above in this file.

"works here" macallan@, myself


Revision tags: netbsd-6-0-6-RELEASE netbsd-6-1-5-RELEASE netbsd-6-1-4-RELEASE netbsd-6-0-5-RELEASE netbsd-6-1-3-RELEASE netbsd-6-0-4-RELEASE netbsd-6-1-2-RELEASE netbsd-6-0-3-RELEASE netbsd-6-1-1-RELEASE netbsd-6-0-2-RELEASE netbsd-6-1-RELEASE netbsd-6-1-RC4 netbsd-6-1-RC3 netbsd-6-1-RC2 netbsd-6-1-RC1 netbsd-6-0-1-RELEASE matt-nb6-plus-nbase netbsd-6-0-RELEASE netbsd-6-0-RC2 matt-nb6-plus-base netbsd-6-0-RC1 yamt-pagecache-base4 jmcneill-usbmp-base8 jmcneill-usbmp-base7 jmcneill-usbmp-base6 jmcneill-usbmp-base5 jmcneill-usbmp-base4 jmcneill-usbmp-base3 jmcneill-usbmp-pre-base2 jmcneill-usbmp-base2 netbsd-6-base jmcneill-usbmp-base jmcneill-audiomp3-base yamt-pagecache-base3 yamt-pagecache-base2 yamt-pagecache-base
# 1.65 22-Jul-2011 christos

branches: 1.65.2; 1.65.6;
PR/35473: Wigcher Spanninga: Add Dutch keyboard support to wscons


Revision tags: rmind-uvmplock-nbase cherry-xenmp-base bouyer-quota2-nbase bouyer-quota2-base jruoho-x86intr-base matt-mips64-premerge-20101231 uebayasi-xip-base4 uebayasi-xip-base3 yamt-nfs-mp-base11 uebayasi-xip-base2 yamt-nfs-mp-base10 uebayasi-xip-base1 rmind-uvmplock-base yamt-nfs-mp-base9 uebayasi-xip-base
# 1.64 28-Jan-2010 drochner

-rename the "KS_GROUP_Ascii" key symbol category to "Plain" because
this is what it meant all the time -- it includes characters >127
-delegate translation of all key symbols >127 to the terminal emulation
layer -- formerly everything non-special was passed to the tty subsystem
directly, involving truncation to a "char", which effectively meant
some ISO-1 assumption


Revision tags: matt-premerge-20091211 yamt-nfs-mp-base8 yamt-nfs-mp-base7 jymxensuspend-base yamt-nfs-mp-base6 yamt-nfs-mp-base5 yamt-nfs-mp-base4 jym-xensuspend-nbase yamt-nfs-mp-base3 nick-hppapmap-base4 nick-hppapmap-base3 jym-xensuspend-base nick-hppapmap-base
# 1.63 06-Apr-2009 mkirby

Add a Czech (QWERTY) keyboard layout, and teach wscons about latin 2 characters.

Original code from Lubomir Kundrak, adapted to current and cleaned up by me.

Fixes PR kern/16216

ok agc@ jdc@


Revision tags: nick-hppapmap-base2
# 1.62 18-Feb-2009 snj

s/portugese/portuguese/, spotted by Ari Constancio in PR misc/40202.


Revision tags: netbsd-5-0-2-RELEASE matt-nb5-mips64-premerge-20091211 matt-nb5-mips64-u2-k2-k4-k7-k8-k9 matt-nb4-mips64-k7-u2a-k9b matt-nb5-mips64-u1-k1-k5 netbsd-5-0-1-RELEASE netbsd-5-0-RELEASE netbsd-5-0-RC4 netbsd-5-0-RC3 netbsd-5-0-RC2 netbsd-5-0-RC1 haad-dm-base2 haad-nbase2 ad-audiomp2-base netbsd-5-base matt-mips64-base2 haad-dm-base1 wrstuden-revivesa-base-4 wrstuden-revivesa-base-3 wrstuden-revivesa-base-2 haad-dm-base wrstuden-revivesa-base-1 simonb-wapbl-nbase yamt-pf42-base4 simonb-wapbl-base yamt-pf42-base3 wrstuden-revivesa-base mjf-devfs2-base
# 1.61 21-May-2008 ghen

branches: 1.61.6; 1.61.8; 1.61.12; 1.61.14; 1.61.16;
Add support for the Colemak keyboard layout variant, see http://colemak.com


Revision tags: hpcarm-cleanup-nbase yamt-pf42-base2 yamt-nfs-mp-base2
# 1.60 28-Apr-2008 martin

branches: 1.60.2;
Remove clause 3 and 4 from TNF licenses


Revision tags: yamt-pf42-baseX yamt-nfs-mp-base yamt-pf42-base ad-socklock-base1 yamt-lazymbuf-base15 yamt-lazymbuf-base14 keiichi-mipv6-nbase nick-net80211-sync-base keiichi-mipv6-base bouyer-xeni386-merge1 vmlocking2-base3 bouyer-xeni386-nbase yamt-kmem-base3 cube-autoconf-base yamt-kmem-base2 bouyer-xeni386-base matt-armv6-nbase mjf-devfs-base matt-armv6-base hpcarm-cleanup-base
# 1.59 09-Dec-2007 jmcneill

branches: 1.59.10; 1.59.12; 1.59.14;
Merge jmcneill-pm branch.


Revision tags: nick-csl-alignment-base5 matt-armv6-prevmlocking yamt-kmem-base vmlocking2-base2 reinoud-bufcleanup-nbase vmlocking2-base1 jmcneill-base bouyer-xenamd64-base2 vmlocking-nbase yamt-x86pmap-base4 bouyer-xenamd64-base yamt-x86pmap-base3 yamt-x86pmap-base2 yamt-x86pmap-base matt-mips64-base jmcneill-pm-base nick-csl-alignment-base yamt-idlelwp-base8 thorpej-atomic-base reinoud-bufcleanup-base mjf-ufs-trans-base vmlocking-base
# 1.58 04-Apr-2007 mishka

branches: 1.58.8; 1.58.10; 1.58.18; 1.58.20;
Revert previous commit until further investigation because it is
known as problematic. Some problems obscured are dead Del key (I
can reproduce this with wscons scroll support) and panic (seen by
<elad> only).


# 1.57 02-Apr-2007 mishka

Implement locking switcher for alternative layots (many languages
are based on completely different alphabet, and typesetting with
one of modifiers pressed all the time is just a PITA). See
http://mail-index.netbsd.org/tech-kern/2007/03/29/0002.html for
usage details.

While here, perform the following small cleanups:
- KS_Cmd_Scroll* execution should be explicitly interrupted with 'break'.
- Some 'human' cleanups in ksym extraction algorithm (no func. changes).
- Add a note: implemented ksym translation isn't sufficient for l10n.


Revision tags: netbsd-4-0-1-RELEASE wrstuden-fixsa-base-1 netbsd-4-0-RELEASE netbsd-4-0-RC5 matt-nb4-arm-base netbsd-4-0-RC4 netbsd-4-0-RC3 netbsd-4-0-RC2 netbsd-4-0-RC1 ad-audiomp-base post-newlock2-merge newlock2-nbase yamt-splraiseipl-base5 yamt-splraiseipl-base4 yamt-splraiseipl-base3 abandoned-netbsd-4-base yamt-splraiseipl-base2 yamt-splraiseipl-base yamt-pdpolicy-base9 newlock2-base yamt-pdpolicy-base8 yamt-pdpolicy-base7 netbsd-4-base yamt-pdpolicy-base6 chap-midi-nbase gdamore-uart-base yamt-pdpolicy-base5 chap-midi-base yamt-pdpolicy-base4 elad-kernelauth-base simonb-timecounters-base rpaulo-netinet-merge-pcb-base
# 1.56 01-Apr-2006 christos

branches: 1.56.12; 1.56.20; 1.56.24;
Greek console keymap from Eye of the Beholder


Revision tags: yamt-pdpolicy-base3 peter-altq-base yamt-pdpolicy-base2 yamt-pdpolicy-base yamt-uio_vmspace-base5
# 1.55 11-Dec-2005 christos

branches: 1.55.4; 1.55.6; 1.55.8; 1.55.10; 1.55.12;
merge ktrace-lwp.


Revision tags: yamt-readahead-base3 yamt-readahead-base2 yamt-readahead-pervnode yamt-readahead-perfile yamt-readahead-base yamt-vop-base3 yamt-vop-base2 thorpej-vnode-attr-base yamt-vop-base ktrace-lwp-base
# 1.54 08-Jun-2005 martin

branches: 1.54.2;
Add a key symbol for the "Power" key.


# 1.53 30-Apr-2005 augustss

Remember what keyboard layout is set in the mux, that way new keyboards
can be given the same layout. Fixes kern/19153.


Revision tags: kent-audio2-base
# 1.52 04-Apr-2005 martti

s/Finish/Finnish/


Revision tags: yamt-km-base4 yamt-km-base3 netbsd-3-base
# 1.51 08-Mar-2005 dsl

branches: 1.51.2;
Change the wa ythe KB_xxx and KB_ENCTAB are defined so we have all the
data for a single keyboard on one line - including the long name and
default modifiers that sysinst needs.


Revision tags: yamt-km-base2 yamt-km-base kent-audio1-beforemerge kent-audio1-base
# 1.50 02-Dec-2004 hubertf

branches: 1.50.4; 1.50.6;
Try to document keymap names - this really a trip into the obscure.
XXX someone please review!


# 1.49 28-May-2004 christos

PR/19925: David Ferlier: Add scrolling support to wscons.


# 1.48 13-May-2004 pooka

Add el-cheapo finnish encoding, i.e. make the name "fi" point to
the swedish keymap, which actually gets set.

inspired by wiz
keymap name blessed by Klaus


Revision tags: netbsd-2-0-base nathanw_sa_before_merge fvdl_fs64_base gmcgarry_ctxsw_base gmcgarry_ucred_base nathanw_sa_base
# 1.47 25-Nov-2002 fvdl

branches: 1.47.6; 1.47.8;
Add 'U' to 16-bit hex constants to stop gcc 3.3 from complaining. Shouldn't
really be needed, but.. (from scw and thorpej).


# 1.46 25-Oct-2002 martin

Add a few symbols.


Revision tags: netbsd-1-6-PATCH002-RELEASE netbsd-1-6-PATCH002 netbsd-1-6-PATCH002-RC4 netbsd-1-6-PATCH002-RC3 netbsd-1-6-PATCH002-RC2 netbsd-1-6-PATCH002-RC1 netbsd-1-6-PATCH001 netbsd-1-6-PATCH001-RELEASE netbsd-1-6-PATCH001-RC3 netbsd-1-6-PATCH001-RC2 netbsd-1-6-PATCH001-RC1 kqueue-aftermerge kqueue-beforemerge netbsd-1-6-RELEASE netbsd-1-6-RC3 netbsd-1-6-RC2 netbsd-1-6-RC1 netbsd-1-6-base gehenna-devsw-base kqueue-base
# 1.45 23-Apr-2002 hannken

Remove the cyrillic keysyms. This was not done the right way.
Will come back after 1.6 has branched.

Approved by: Matthias Drochner <drochner@netbsd.org>


# 1.44 24-Mar-2002 uwe

Sync most Cyrillic names with X11 keysym names.


Revision tags: eeh-devprop-base
# 1.43 17-Mar-2002 augustss

Add Cyrillic keysyms. From OpenBSD.


# 1.42 17-Mar-2002 augustss

Don't forget the symbolc names for the keymaps.


# 1.41 17-Mar-2002 augustss

Add more language map definitions.


Revision tags: newlock-base ifpoll-base thorpej-mips-cache-base
# 1.40 11-Nov-2001 martin

Add polish keyboard map, from Dawid Szyma_ski <dawszy@netbsd.lubin.pl>.


Revision tags: thorpej-devvp-base3 thorpej-devvp-base2 post-chs-ubcperf pre-chs-ubcperf thorpej-devvp-base thorpej_scsipi_beforemerge thorpej_scsipi_nbase thorpej_scsipi_base
# 1.39 05-Dec-2000 drochner

branches: 1.39.2; 1.39.4; 1.39.8;
add some missing definitions for hungarian keymap support
(It won't help much since there is no way to get characters not in
iso-1 or the function key set through the vt100/sun/dumb terminal
emulations:-(


# 1.38 13-Oct-2000 mjl

Revert previous since the finnish keymap is already present under
the name "sv". Note to myself: Read PRs completely before acting.
Note to Santa Claus: I want a mailing list that carries all follow
ups to PRs!


# 1.37 12-Oct-2000 mjl

Add finnish keymap, from Heikki Kallasjoki in PR/11186.


# 1.36 01-Oct-2000 takemura

- Add ioctl commands to wsdisplay which set/get some LCD status,
backlight, brightness and contrast.
- Add 9 command key symbols which make wskbd to call wsdisplay's
iocontrol.
- Add special key map variant KB_MACHDEP. This variant does not
have any real keymap but it's just a placeholder for machine dependent
maps which will be overwrite by machine dependent keyboard driver.


# 1.35 06-Jul-2000 hannken

Change type `kbd_t' from `u_int_16_t' to `u_int32_t'.
This eliminates bogus casts from `int *' to `u_int_16_t*'.


Revision tags: netbsd-1-5-base minoura-xpg4dl-base
# 1.34 19-May-2000 drochner

branches: 1.34.4;
define spanish keymap


# 1.33 13-May-2000 bjh21

Oops. Swedish is KB_SV.


# 1.32 13-May-2000 bjh21

Add keypad-# and Swedish layout


# 1.31 14-Apr-2000 tsarna

Add an "iopener" keymap variant, giving us.iopener and
us.iopener.swapctrlcaps. This makes F1 ("Back") into Escape, and shifts
the other keys over by one, so F2-F12 ("Forward"-"Home") become F1-F11.


# 1.30 19-Mar-2000 tsarna

Make clearer. IMHO, all of this code should stop referring to Control-L
and Control-R, since those suggest ^L and ^R, not Left and Right Control.


# 1.29 19-Mar-2000 tsarna

Correct a comment


# 1.28 05-Mar-2000 soren

Add Norwegian keymap from Haavard Lygre.


Revision tags: chs-ubc2-newbase wrstuden-devbsize-19991221 wrstuden-devbsize-base
# 1.27 21-Dec-1999 drochner

introduce a METAESC keyboard variant bit


Revision tags: fvdl-softdep-base
# 1.26 10-Nov-1999 drochner

allow to set multiple keyboard "variants" simultanously.
Follows PR kern/8456 by Michael Eriksson <eramore@era-t.ericsson.se>,
implemented diffently.


Revision tags: comdex-fall-1999-base chs-ubc2-base
# 1.25 11-May-1999 drochner

branches: 1.25.2; 1.25.4; 1.25.8;
define swedish layout and "dvorak" variant


Revision tags: kame_141_19991130 netbsd-1-4-PATCH001 kame_14_19990705 kame_14_19990628 netbsd-1-4-RELEASE netbsd-1-4-base
# 1.24 12-Feb-1999 drochner

branches: 1.24.2; 1.24.4;
"NEXT" is a keyboard type, not a keymap variation.


# 1.23 28-Jan-1999 dbj

wscons based console video & keyboard support for the NeXT
from Matt DeBergalis


# 1.22 23-Jan-1999 drochner

add definitions for the additional modifiers on japanese keyboards
(These are not of use for wscons, but we want to give names to the keys
at least.)


# 1.21 17-Jan-1999 drochner

define a "close everything" keyboard command


# 1.20 15-Jan-1999 drochner

add definition for japanese keyboard


# 1.19 14-Jan-1999 drochner

add a "reset terminal emulator" command pseudo-keysym and call the
corresponding callback if one is hit


# 1.18 10-Jan-1999 augustss

Rename the "windows" keys and add the new keys to the keyboard maps.


# 1.17 10-Jan-1999 augustss

Add definitions for Pause and Print_Screen keys.
(Why were these keys missing? Or am I missing something obvious here?)


# 1.16 10-Jan-1999 augustss

Add definitions for left and right "Windows" keys and menu key.


# 1.15 09-Jan-1999 drochner

add a definition for the "swap ctl and caps" option


# 1.14 06-Jan-1999 drochner

add definition for british keyboard


# 1.13 28-Dec-1998 hannken

Prepare for wsconsctrl:
- clean up keycode defines.
- allow easy parse of wsksymdef.h.
- add misssing KB_IT entry.
- set layout to KB_USER after ioctl WSKBDIO_SETMAP.


Revision tags: kenh-if-detach-base chs-ubc-base
# 1.12 03-Oct-1998 drochner

add definition for french keyboard


# 1.11 17-Sep-1998 drochner

Add option bit which covers the delta between LK201 and LK401.


# 1.10 01-Sep-1998 drochner

add definition for italian keyboard


Revision tags: eeh-paddr_t-base
# 1.9 15-Jul-1998 drochner

rename "LK" -> "declk" for consistency


# 1.8 14-Jul-1998 drochner

support keyboards with PC interface and DEC layout (LK461)


# 1.7 16-Jun-1998 drochner

add missing keys for vt100


# 1.6 20-Apr-1998 hannken

Undo change from drochner (Rev 1.4 of wsksymdef.h) and fix PR #5298 and #5299.


# 1.5 18-Apr-1998 drochner

Add danish keymap.
From Soren S. Jorvang (PR kern/5312).


# 1.4 16-Apr-1998 drochner

Don't use KS_GROUP_xxx values which have set something in the lower
8 bits. This allows to OR them with keycodes.
This is probably a workaround for namespace confusion happening else-
where (in wskbdutil.c:ksym_upcase() perhaps?), but it helps without
too much digging into the details.


# 1.3 07-Apr-1998 hannken

Fix typo.


# 1.2 07-Apr-1998 hannken

Oops. Forgot RCS ident and copyright.


# 1.1 07-Apr-1998 hannken

Initial import of MI keyboard translation for dev/wscons.


Revision tags: isaki-audio2-base pgoyette-compat-merge-20190127 pgoyette-compat-20190127 pgoyette-compat-20190118 pgoyette-compat-1226 pgoyette-compat-1126 pgoyette-compat-1020 pgoyette-compat-0930 pgoyette-compat-0906 jdolecek-ncqfixes-base pgoyette-compat-0728 phil-wifi-base pgoyette-compat-0625 pgoyette-compat-0521 pgoyette-compat-0502 pgoyette-compat-0422 pgoyette-compat-0415 pgoyette-compat-0407 pgoyette-compat-0330 pgoyette-compat-0322 pgoyette-compat-0315 pgoyette-compat-base
# 1.67 19-Feb-2018 maya

Add Turkish keyboard layout.

from berte in PR kern/53011.


Revision tags: netbsd-7-2-RELEASE netbsd-7-1-2-RELEASE netbsd-7-1-1-RELEASE tls-maxphys-base-20171202 matt-nb8-mediatek-base nick-nhusb-base-20170825 perseant-stdc-iso10646-base netbsd-8-base prg-localcount2-base3 prg-localcount2-base2 prg-localcount2-base1 prg-localcount2-base pgoyette-localcount-20170426 bouyer-socketcan-base1 jdolecek-ncq-base pgoyette-localcount-20170320 netbsd-7-1-RELEASE netbsd-7-1-RC2 nick-nhusb-base-20170204 netbsd-7-nhusb-base-20170116 bouyer-socketcan-base pgoyette-localcount-20170107 netbsd-7-1-RC1 nick-nhusb-base-20161204 pgoyette-localcount-20161104 netbsd-7-0-2-RELEASE nick-nhusb-base-20161004 localcount-20160914 netbsd-7-nhusb-base pgoyette-localcount-20160806 pgoyette-localcount-20160726 pgoyette-localcount-base nick-nhusb-base-20160907 nick-nhusb-base-20160529 netbsd-7-0-1-RELEASE nick-nhusb-base-20160422 nick-nhusb-base-20160319 nick-nhusb-base-20151226 netbsd-7-0-RELEASE nick-nhusb-base-20150921 netbsd-7-0-RC3 netbsd-7-0-RC2 netbsd-7-0-RC1 nick-nhusb-base-20150606 nick-nhusb-base-20150406 nick-nhusb-base netbsd-7-base yamt-pagecache-base9 tls-earlyentropy-base riastradh-xf86-video-intel-2-7-1-pre-2-21-15 riastradh-drm2-base3 rmind-smpnet-nbase riastradh-drm2-base2 riastradh-drm2-base1 riastradh-drm2-base rmind-smpnet-base agc-symver-base yamt-pagecache-base8 yamt-pagecache-base7 yamt-pagecache-base6 tls-maxphys-base jmcneill-usbmp-base10 yamt-pagecache-base5 jmcneill-usbmp-base9
# 1.66 22-Apr-2012 khorben

branches: 1.66.32;
Implemented extra keys as found on Sun Type 7 USB keyboards, and
according to the documentation mentioned above in this file.

"works here" macallan@, myself


Revision tags: netbsd-6-0-6-RELEASE netbsd-6-1-5-RELEASE netbsd-6-1-4-RELEASE netbsd-6-0-5-RELEASE netbsd-6-1-3-RELEASE netbsd-6-0-4-RELEASE netbsd-6-1-2-RELEASE netbsd-6-0-3-RELEASE netbsd-6-1-1-RELEASE netbsd-6-0-2-RELEASE netbsd-6-1-RELEASE netbsd-6-1-RC4 netbsd-6-1-RC3 netbsd-6-1-RC2 netbsd-6-1-RC1 netbsd-6-0-1-RELEASE matt-nb6-plus-nbase netbsd-6-0-RELEASE netbsd-6-0-RC2 matt-nb6-plus-base netbsd-6-0-RC1 yamt-pagecache-base4 jmcneill-usbmp-base8 jmcneill-usbmp-base7 jmcneill-usbmp-base6 jmcneill-usbmp-base5 jmcneill-usbmp-base4 jmcneill-usbmp-base3 jmcneill-usbmp-pre-base2 jmcneill-usbmp-base2 netbsd-6-base jmcneill-usbmp-base jmcneill-audiomp3-base yamt-pagecache-base3 yamt-pagecache-base2 yamt-pagecache-base
# 1.65 22-Jul-2011 christos

branches: 1.65.2; 1.65.6;
PR/35473: Wigcher Spanninga: Add Dutch keyboard support to wscons


Revision tags: rmind-uvmplock-nbase cherry-xenmp-base bouyer-quota2-nbase bouyer-quota2-base jruoho-x86intr-base matt-mips64-premerge-20101231 uebayasi-xip-base4 uebayasi-xip-base3 yamt-nfs-mp-base11 uebayasi-xip-base2 yamt-nfs-mp-base10 uebayasi-xip-base1 rmind-uvmplock-base yamt-nfs-mp-base9 uebayasi-xip-base
# 1.64 28-Jan-2010 drochner

-rename the "KS_GROUP_Ascii" key symbol category to "Plain" because
this is what it meant all the time -- it includes characters >127
-delegate translation of all key symbols >127 to the terminal emulation
layer -- formerly everything non-special was passed to the tty subsystem
directly, involving truncation to a "char", which effectively meant
some ISO-1 assumption


Revision tags: matt-premerge-20091211 yamt-nfs-mp-base8 yamt-nfs-mp-base7 jymxensuspend-base yamt-nfs-mp-base6 yamt-nfs-mp-base5 yamt-nfs-mp-base4 jym-xensuspend-nbase yamt-nfs-mp-base3 nick-hppapmap-base4 nick-hppapmap-base3 jym-xensuspend-base nick-hppapmap-base
# 1.63 06-Apr-2009 mkirby

Add a Czech (QWERTY) keyboard layout, and teach wscons about latin 2 characters.

Original code from Lubomir Kundrak, adapted to current and cleaned up by me.

Fixes PR kern/16216

ok agc@ jdc@


Revision tags: nick-hppapmap-base2
# 1.62 18-Feb-2009 snj

s/portugese/portuguese/, spotted by Ari Constancio in PR misc/40202.


Revision tags: netbsd-5-0-2-RELEASE matt-nb5-mips64-premerge-20091211 matt-nb5-mips64-u2-k2-k4-k7-k8-k9 matt-nb4-mips64-k7-u2a-k9b matt-nb5-mips64-u1-k1-k5 netbsd-5-0-1-RELEASE netbsd-5-0-RELEASE netbsd-5-0-RC4 netbsd-5-0-RC3 netbsd-5-0-RC2 netbsd-5-0-RC1 haad-dm-base2 haad-nbase2 ad-audiomp2-base netbsd-5-base matt-mips64-base2 haad-dm-base1 wrstuden-revivesa-base-4 wrstuden-revivesa-base-3 wrstuden-revivesa-base-2 haad-dm-base wrstuden-revivesa-base-1 simonb-wapbl-nbase yamt-pf42-base4 simonb-wapbl-base yamt-pf42-base3 wrstuden-revivesa-base mjf-devfs2-base
# 1.61 21-May-2008 ghen

branches: 1.61.6; 1.61.8; 1.61.12; 1.61.14; 1.61.16;
Add support for the Colemak keyboard layout variant, see http://colemak.com


Revision tags: hpcarm-cleanup-nbase yamt-pf42-base2 yamt-nfs-mp-base2
# 1.60 28-Apr-2008 martin

branches: 1.60.2;
Remove clause 3 and 4 from TNF licenses


Revision tags: yamt-pf42-baseX yamt-nfs-mp-base yamt-pf42-base ad-socklock-base1 yamt-lazymbuf-base15 yamt-lazymbuf-base14 keiichi-mipv6-nbase nick-net80211-sync-base keiichi-mipv6-base bouyer-xeni386-merge1 vmlocking2-base3 bouyer-xeni386-nbase yamt-kmem-base3 cube-autoconf-base yamt-kmem-base2 bouyer-xeni386-base matt-armv6-nbase mjf-devfs-base matt-armv6-base hpcarm-cleanup-base
# 1.59 09-Dec-2007 jmcneill

branches: 1.59.10; 1.59.12; 1.59.14;
Merge jmcneill-pm branch.


Revision tags: nick-csl-alignment-base5 matt-armv6-prevmlocking yamt-kmem-base vmlocking2-base2 reinoud-bufcleanup-nbase vmlocking2-base1 jmcneill-base bouyer-xenamd64-base2 vmlocking-nbase yamt-x86pmap-base4 bouyer-xenamd64-base yamt-x86pmap-base3 yamt-x86pmap-base2 yamt-x86pmap-base matt-mips64-base jmcneill-pm-base nick-csl-alignment-base yamt-idlelwp-base8 thorpej-atomic-base reinoud-bufcleanup-base mjf-ufs-trans-base vmlocking-base
# 1.58 04-Apr-2007 mishka

branches: 1.58.8; 1.58.10; 1.58.18; 1.58.20;
Revert previous commit until further investigation because it is
known as problematic. Some problems obscured are dead Del key (I
can reproduce this with wscons scroll support) and panic (seen by
<elad> only).


# 1.57 02-Apr-2007 mishka

Implement locking switcher for alternative layots (many languages
are based on completely different alphabet, and typesetting with
one of modifiers pressed all the time is just a PITA). See
http://mail-index.netbsd.org/tech-kern/2007/03/29/0002.html for
usage details.

While here, perform the following small cleanups:
- KS_Cmd_Scroll* execution should be explicitly interrupted with 'break'.
- Some 'human' cleanups in ksym extraction algorithm (no func. changes).
- Add a note: implemented ksym translation isn't sufficient for l10n.


Revision tags: netbsd-4-0-1-RELEASE wrstuden-fixsa-base-1 netbsd-4-0-RELEASE netbsd-4-0-RC5 matt-nb4-arm-base netbsd-4-0-RC4 netbsd-4-0-RC3 netbsd-4-0-RC2 netbsd-4-0-RC1 ad-audiomp-base post-newlock2-merge newlock2-nbase yamt-splraiseipl-base5 yamt-splraiseipl-base4 yamt-splraiseipl-base3 abandoned-netbsd-4-base yamt-splraiseipl-base2 yamt-splraiseipl-base yamt-pdpolicy-base9 newlock2-base yamt-pdpolicy-base8 yamt-pdpolicy-base7 netbsd-4-base yamt-pdpolicy-base6 chap-midi-nbase gdamore-uart-base yamt-pdpolicy-base5 chap-midi-base yamt-pdpolicy-base4 elad-kernelauth-base simonb-timecounters-base rpaulo-netinet-merge-pcb-base
# 1.56 01-Apr-2006 christos

branches: 1.56.12; 1.56.20; 1.56.24;
Greek console keymap from Eye of the Beholder


Revision tags: yamt-pdpolicy-base3 peter-altq-base yamt-pdpolicy-base2 yamt-pdpolicy-base yamt-uio_vmspace-base5
# 1.55 11-Dec-2005 christos

branches: 1.55.4; 1.55.6; 1.55.8; 1.55.10; 1.55.12;
merge ktrace-lwp.


Revision tags: yamt-readahead-base3 yamt-readahead-base2 yamt-readahead-pervnode yamt-readahead-perfile yamt-readahead-base yamt-vop-base3 yamt-vop-base2 thorpej-vnode-attr-base yamt-vop-base ktrace-lwp-base
# 1.54 08-Jun-2005 martin

branches: 1.54.2;
Add a key symbol for the "Power" key.


# 1.53 30-Apr-2005 augustss

Remember what keyboard layout is set in the mux, that way new keyboards
can be given the same layout. Fixes kern/19153.


Revision tags: kent-audio2-base
# 1.52 04-Apr-2005 martti

s/Finish/Finnish/


Revision tags: yamt-km-base4 yamt-km-base3 netbsd-3-base
# 1.51 08-Mar-2005 dsl

branches: 1.51.2;
Change the wa ythe KB_xxx and KB_ENCTAB are defined so we have all the
data for a single keyboard on one line - including the long name and
default modifiers that sysinst needs.


Revision tags: yamt-km-base2 yamt-km-base kent-audio1-beforemerge kent-audio1-base
# 1.50 02-Dec-2004 hubertf

branches: 1.50.4; 1.50.6;
Try to document keymap names - this really a trip into the obscure.
XXX someone please review!


# 1.49 28-May-2004 christos

PR/19925: David Ferlier: Add scrolling support to wscons.


# 1.48 13-May-2004 pooka

Add el-cheapo finnish encoding, i.e. make the name "fi" point to
the swedish keymap, which actually gets set.

inspired by wiz
keymap name blessed by Klaus


Revision tags: netbsd-2-0-base nathanw_sa_before_merge fvdl_fs64_base gmcgarry_ctxsw_base gmcgarry_ucred_base nathanw_sa_base
# 1.47 25-Nov-2002 fvdl

branches: 1.47.6; 1.47.8;
Add 'U' to 16-bit hex constants to stop gcc 3.3 from complaining. Shouldn't
really be needed, but.. (from scw and thorpej).


# 1.46 25-Oct-2002 martin

Add a few symbols.


Revision tags: netbsd-1-6-PATCH002-RELEASE netbsd-1-6-PATCH002 netbsd-1-6-PATCH002-RC4 netbsd-1-6-PATCH002-RC3 netbsd-1-6-PATCH002-RC2 netbsd-1-6-PATCH002-RC1 netbsd-1-6-PATCH001 netbsd-1-6-PATCH001-RELEASE netbsd-1-6-PATCH001-RC3 netbsd-1-6-PATCH001-RC2 netbsd-1-6-PATCH001-RC1 kqueue-aftermerge kqueue-beforemerge netbsd-1-6-RELEASE netbsd-1-6-RC3 netbsd-1-6-RC2 netbsd-1-6-RC1 netbsd-1-6-base gehenna-devsw-base kqueue-base
# 1.45 23-Apr-2002 hannken

Remove the cyrillic keysyms. This was not done the right way.
Will come back after 1.6 has branched.

Approved by: Matthias Drochner <drochner@netbsd.org>


# 1.44 24-Mar-2002 uwe

Sync most Cyrillic names with X11 keysym names.


Revision tags: eeh-devprop-base
# 1.43 17-Mar-2002 augustss

Add Cyrillic keysyms. From OpenBSD.


# 1.42 17-Mar-2002 augustss

Don't forget the symbolc names for the keymaps.


# 1.41 17-Mar-2002 augustss

Add more language map definitions.


Revision tags: newlock-base ifpoll-base thorpej-mips-cache-base
# 1.40 11-Nov-2001 martin

Add polish keyboard map, from Dawid Szyma_ski <dawszy@netbsd.lubin.pl>.


Revision tags: thorpej-devvp-base3 thorpej-devvp-base2 post-chs-ubcperf pre-chs-ubcperf thorpej-devvp-base thorpej_scsipi_beforemerge thorpej_scsipi_nbase thorpej_scsipi_base
# 1.39 05-Dec-2000 drochner

branches: 1.39.2; 1.39.4; 1.39.8;
add some missing definitions for hungarian keymap support
(It won't help much since there is no way to get characters not in
iso-1 or the function key set through the vt100/sun/dumb terminal
emulations:-(


# 1.38 13-Oct-2000 mjl

Revert previous since the finnish keymap is already present under
the name "sv". Note to myself: Read PRs completely before acting.
Note to Santa Claus: I want a mailing list that carries all follow
ups to PRs!


# 1.37 12-Oct-2000 mjl

Add finnish keymap, from Heikki Kallasjoki in PR/11186.


# 1.36 01-Oct-2000 takemura

- Add ioctl commands to wsdisplay which set/get some LCD status,
backlight, brightness and contrast.
- Add 9 command key symbols which make wskbd to call wsdisplay's
iocontrol.
- Add special key map variant KB_MACHDEP. This variant does not
have any real keymap but it's just a placeholder for machine dependent
maps which will be overwrite by machine dependent keyboard driver.


# 1.35 06-Jul-2000 hannken

Change type `kbd_t' from `u_int_16_t' to `u_int32_t'.
This eliminates bogus casts from `int *' to `u_int_16_t*'.


Revision tags: netbsd-1-5-base minoura-xpg4dl-base
# 1.34 19-May-2000 drochner

branches: 1.34.4;
define spanish keymap


# 1.33 13-May-2000 bjh21

Oops. Swedish is KB_SV.


# 1.32 13-May-2000 bjh21

Add keypad-# and Swedish layout


# 1.31 14-Apr-2000 tsarna

Add an "iopener" keymap variant, giving us.iopener and
us.iopener.swapctrlcaps. This makes F1 ("Back") into Escape, and shifts
the other keys over by one, so F2-F12 ("Forward"-"Home") become F1-F11.


# 1.30 19-Mar-2000 tsarna

Make clearer. IMHO, all of this code should stop referring to Control-L
and Control-R, since those suggest ^L and ^R, not Left and Right Control.


# 1.29 19-Mar-2000 tsarna

Correct a comment


# 1.28 05-Mar-2000 soren

Add Norwegian keymap from Haavard Lygre.


Revision tags: chs-ubc2-newbase wrstuden-devbsize-19991221 wrstuden-devbsize-base
# 1.27 21-Dec-1999 drochner

introduce a METAESC keyboard variant bit


Revision tags: fvdl-softdep-base
# 1.26 10-Nov-1999 drochner

allow to set multiple keyboard "variants" simultanously.
Follows PR kern/8456 by Michael Eriksson <eramore@era-t.ericsson.se>,
implemented diffently.


Revision tags: comdex-fall-1999-base chs-ubc2-base
# 1.25 11-May-1999 drochner

branches: 1.25.2; 1.25.4; 1.25.8;
define swedish layout and "dvorak" variant


Revision tags: kame_141_19991130 netbsd-1-4-PATCH001 kame_14_19990705 kame_14_19990628 netbsd-1-4-RELEASE netbsd-1-4-base
# 1.24 12-Feb-1999 drochner

branches: 1.24.2; 1.24.4;
"NEXT" is a keyboard type, not a keymap variation.


# 1.23 28-Jan-1999 dbj

wscons based console video & keyboard support for the NeXT
from Matt DeBergalis


# 1.22 23-Jan-1999 drochner

add definitions for the additional modifiers on japanese keyboards
(These are not of use for wscons, but we want to give names to the keys
at least.)


# 1.21 17-Jan-1999 drochner

define a "close everything" keyboard command


# 1.20 15-Jan-1999 drochner

add definition for japanese keyboard


# 1.19 14-Jan-1999 drochner

add a "reset terminal emulator" command pseudo-keysym and call the
corresponding callback if one is hit


# 1.18 10-Jan-1999 augustss

Rename the "windows" keys and add the new keys to the keyboard maps.


# 1.17 10-Jan-1999 augustss

Add definitions for Pause and Print_Screen keys.
(Why were these keys missing? Or am I missing something obvious here?)


# 1.16 10-Jan-1999 augustss

Add definitions for left and right "Windows" keys and menu key.


# 1.15 09-Jan-1999 drochner

add a definition for the "swap ctl and caps" option


# 1.14 06-Jan-1999 drochner

add definition for british keyboard


# 1.13 28-Dec-1998 hannken

Prepare for wsconsctrl:
- clean up keycode defines.
- allow easy parse of wsksymdef.h.
- add misssing KB_IT entry.
- set layout to KB_USER after ioctl WSKBDIO_SETMAP.


Revision tags: kenh-if-detach-base chs-ubc-base
# 1.12 03-Oct-1998 drochner

add definition for french keyboard


# 1.11 17-Sep-1998 drochner

Add option bit which covers the delta between LK201 and LK401.


# 1.10 01-Sep-1998 drochner

add definition for italian keyboard


Revision tags: eeh-paddr_t-base
# 1.9 15-Jul-1998 drochner

rename "LK" -> "declk" for consistency


# 1.8 14-Jul-1998 drochner

support keyboards with PC interface and DEC layout (LK461)


# 1.7 16-Jun-1998 drochner

add missing keys for vt100


# 1.6 20-Apr-1998 hannken

Undo change from drochner (Rev 1.4 of wsksymdef.h) and fix PR #5298 and #5299.


# 1.5 18-Apr-1998 drochner

Add danish keymap.
From Soren S. Jorvang (PR kern/5312).


# 1.4 16-Apr-1998 drochner

Don't use KS_GROUP_xxx values which have set something in the lower
8 bits. This allows to OR them with keycodes.
This is probably a workaround for namespace confusion happening else-
where (in wskbdutil.c:ksym_upcase() perhaps?), but it helps without
too much digging into the details.


# 1.3 07-Apr-1998 hannken

Fix typo.


# 1.2 07-Apr-1998 hannken

Oops. Forgot RCS ident and copyright.


# 1.1 07-Apr-1998 hannken

Initial import of MI keyboard translation for dev/wscons.