diff options
Diffstat (limited to 'sys/arch/sparc64')
-rw-r--r-- | sys/arch/sparc64/dev/comkbd_ebus.c | 6 | ||||
-rw-r--r-- | sys/arch/sparc64/dev/z8530kbd.c | 8 |
2 files changed, 12 insertions, 2 deletions
diff --git a/sys/arch/sparc64/dev/comkbd_ebus.c b/sys/arch/sparc64/dev/comkbd_ebus.c index 277ede26ab0..bde4a3d4295 100644 --- a/sys/arch/sparc64/dev/comkbd_ebus.c +++ b/sys/arch/sparc64/dev/comkbd_ebus.c @@ -1,4 +1,4 @@ -/* $OpenBSD: comkbd_ebus.c,v 1.17 2005/05/14 15:25:20 miod Exp $ */ +/* $OpenBSD: comkbd_ebus.c,v 1.18 2005/11/11 16:44:51 miod Exp $ */ /* * Copyright (c) 2002 Jason L. Wright (jason@thought.net) @@ -219,6 +219,10 @@ comkbd_attach(parent, self, aux) return; } + ss->sc_click = + strcmp(getpropstring(optionsnode, "keyboard-click?"), "true") == 0; + sunkbd_setclick(ss, ss->sc_click); + a.console = console; if (ISTYPE5(ss->sc_layout)) { a.keymap = &sunkbd5_keymapdata; diff --git a/sys/arch/sparc64/dev/z8530kbd.c b/sys/arch/sparc64/dev/z8530kbd.c index 3f28d1b0cd5..f2e9cf8c9ce 100644 --- a/sys/arch/sparc64/dev/z8530kbd.c +++ b/sys/arch/sparc64/dev/z8530kbd.c @@ -1,4 +1,4 @@ -/* $OpenBSD: z8530kbd.c,v 1.17 2005/05/14 15:25:20 miod Exp $ */ +/* $OpenBSD: z8530kbd.c,v 1.18 2005/11/11 16:44:51 miod Exp $ */ /* $NetBSD: z8530tty.c,v 1.77 2001/05/30 15:24:24 lukem Exp $ */ /*- @@ -108,6 +108,8 @@ #include <sys/kernel.h> #include <sys/syslog.h> +#include <machine/autoconf.h> + #include <dev/wscons/wsconsio.h> #include <dev/wscons/wskbdvar.h> @@ -383,6 +385,10 @@ zskbd_attach(parent, self, aux) return; } + ss->sc_click = + strcmp(getpropstring(optionsnode, "keyboard-click?"), "true") == 0; + sunkbd_setclick(ss, ss->sc_click); + a.console = console; if (ISTYPE5(ss->sc_layout)) { a.keymap = &sunkbd5_keymapdata; |