summaryrefslogtreecommitdiff
path: root/sys/dev/wscons/wskbd.c
diff options
context:
space:
mode:
authorMichael Shalayeff <mickey@cvs.openbsd.org>2001-05-08 22:28:44 +0000
committerMichael Shalayeff <mickey@cvs.openbsd.org>2001-05-08 22:28:44 +0000
commitfda42b5add85625d515849886a87228d10924814 (patch)
tree7849de50a9531e5b8133cd38385c4b9e5bde782e /sys/dev/wscons/wskbd.c
parent02e0d54c66a867c4789380666e0ac55a8b780f8a (diff)
inplement screen burner in screenblank(1) style (no program though).
disabled by default, also supports vsync blanking, disabled by default. aaron@ looked at it a while back and i fixed problems he had indicated.
Diffstat (limited to 'sys/dev/wscons/wskbd.c')
-rw-r--r--sys/dev/wscons/wskbd.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/sys/dev/wscons/wskbd.c b/sys/dev/wscons/wskbd.c
index 72a19224af1..5532b9d9faa 100644
--- a/sys/dev/wscons/wskbd.c
+++ b/sys/dev/wscons/wskbd.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: wskbd.c,v 1.15 2001/04/18 02:26:58 aaron Exp $ */
+/* $OpenBSD: wskbd.c,v 1.16 2001/05/08 22:28:43 mickey Exp $ */
/* $NetBSD: wskbd.c,v 1.38 2000/03/23 07:01:47 thorpej Exp $ */
/*
@@ -589,6 +589,8 @@ wskbd_input(dev, type, value)
* send upstream.
*/
if (sc->sc_translating) {
+ if (type == WSCONS_EVENT_KEY_DOWN && sc->sc_displaydv != NULL)
+ wsdisplay_burn(sc->sc_displaydv, WSDISPLAY_BURN_KBD);
num = wskbd_translate(sc->id, type, value);
if (num > 0) {
if (sc->sc_displaydv != NULL) {