summaryrefslogtreecommitdiff
path: root/sys
diff options
context:
space:
mode:
authorAnil Madhavapeddy <avsm@cvs.openbsd.org>2002-06-17 07:04:34 +0000
committerAnil Madhavapeddy <avsm@cvs.openbsd.org>2002-06-17 07:04:34 +0000
commitf728d495ce54d8e64392f0c511d610724218a83a (patch)
tree27399941643dcb45e3ec1bb387de81af555977ca /sys
parent07acf753223a5f78244c1980dd5b4ebf6a8e043e (diff)
Add UK keymap (tested on PBG4). Since it doesn't have a # key, do like
MacOS X and map it to Option-3. ok maja@
Diffstat (limited to 'sys')
-rw-r--r--sys/arch/macppc/dev/akbdmap.h11
1 files changed, 10 insertions, 1 deletions
diff --git a/sys/arch/macppc/dev/akbdmap.h b/sys/arch/macppc/dev/akbdmap.h
index e7b5b1bd7bc..7c19d5d0d4d 100644
--- a/sys/arch/macppc/dev/akbdmap.h
+++ b/sys/arch/macppc/dev/akbdmap.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: akbdmap.h,v 1.4 2002/05/30 23:21:02 maja Exp $ */
+/* $OpenBSD: akbdmap.h,v 1.5 2002/06/17 07:04:33 avsm Exp $ */
/* $NetBSD: akbdmap.h,v 1.3 2000/09/01 16:00:39 tsubai Exp $ */
/*-
@@ -190,6 +190,14 @@ static const keysym_t akbd_keydesc_jp[] = {
};
#endif
+static const keysym_t akbd_keydesc_uk[] = {
+/* pos normal shifted altgr shift-altgr */
+ KC(10), KS_section, KS_plusminus,
+ KC(20), KS_3, KS_sterling, KS_numbersign,
+ KC(52), KS_KP_Enter,
+ KC(58), KS_Mode_switch, KS_Multi_key, /* Option */
+};
+
static const keysym_t akbd_keydesc_sv[] = {
/* pos normal shifted altgr shift-altgr */
KC(10), KS_section, KS_degree,
@@ -285,6 +293,7 @@ static const struct wscons_keydesc akbd_keydesctab[] = {
KBD_MAP(KB_SV | KB_NODEAD, KB_SV, akbd_keydesc_sv_nodead),
KBD_MAP(KB_DE, KB_US, akbd_keydesc_de),
KBD_MAP(KB_DE | KB_NODEAD, KB_DE, akbd_keydesc_de_nodead),
+ KBD_MAP(KB_UK, KB_US, akbd_keydesc_uk),
{0, 0, 0, 0}
};