summaryrefslogtreecommitdiff
path: root/sys/arch/luna88k
diff options
context:
space:
mode:
authorMiod Vallat <miod@cvs.openbsd.org>2014-01-26 17:48:09 +0000
committerMiod Vallat <miod@cvs.openbsd.org>2014-01-26 17:48:09 +0000
commit35a3a139adea42c4c20e238b0d4ea37da355141e (patch)
tree99a326bc88f8c40d0263a63fb9d0fcffc77957d5 /sys/arch/luna88k
parent535d4a7abde2f69d9922ec3e33c3d7786c26e67c (diff)
Attempt to make user changes of keyboard layout a bit more `sticky' on wsmux
kernels: - keyboard drivers will now tell wskbd if the keyboard layout they ask for is a default value, or a value they are 100% sure of (either because your kernel has a XXXKBD_LAYOUT option, or because the driver can tell the keyboard layout, e.g. by the country code on USB keyboards which provide it, such as Sun's) - when attaching a keyboard with a non-default layout, the layout will become the default layout of the mux for new keyboard attachments if the mux doesn't have a layout set already. - when changing the keyboard layout of a particular keyboard with an ioctl (i.e. using kbd(8) or wsconsctl(8)), the layout will become the default layout of the mux for new keyboard attachments. ok mpi@
Diffstat (limited to 'sys/arch/luna88k')
-rw-r--r--sys/arch/luna88k/dev/lunaws.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/arch/luna88k/dev/lunaws.c b/sys/arch/luna88k/dev/lunaws.c
index 6ee0768e81e..cfebdb16915 100644
--- a/sys/arch/luna88k/dev/lunaws.c
+++ b/sys/arch/luna88k/dev/lunaws.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: lunaws.c,v 1.9 2013/05/22 11:35:02 aoyama Exp $ */
+/* $OpenBSD: lunaws.c,v 1.10 2014/01/26 17:48:07 miod Exp $ */
/* $NetBSD: lunaws.c,v 1.6 2002/03/17 19:40:42 atatat Exp $ */
/*-
@@ -87,7 +87,7 @@ const struct wskbd_mapdata omkbd_keymapdata = {
#ifdef OMKBD_LAYOUT
OMKBD_LAYOUT,
#else
- KB_JP,
+ KB_JP | KB_DEFAULT,
#endif
};