summaryrefslogtreecommitdiffstats
path: root/sys/dev/sun/sunkbdvar.h
diff options
context:
space:
mode:
authormiod <miod@openbsd.org>2009-01-12 17:45:37 +0000
committermiod <miod@openbsd.org>2009-01-12 17:45:37 +0000
commita4e5462d84a60553d6ece3a74e22e390231d4f71 (patch)
treea1a47850385fd820ae8654b9eeba6faf93436f33 /sys/dev/sun/sunkbdvar.h
parentBe more strict when checking window-left and window-top values. (diff)
downloadwireguard-openbsd-a4e5462d84a60553d6ece3a74e22e390231d4f71.tar.xz
wireguard-openbsd-a4e5462d84a60553d6ece3a74e22e390231d4f71.zip
Remap the audio mute key on type 5, as it collides with the keypad equal
key on type 4.
Diffstat (limited to 'sys/dev/sun/sunkbdvar.h')
-rw-r--r--sys/dev/sun/sunkbdvar.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/dev/sun/sunkbdvar.h b/sys/dev/sun/sunkbdvar.h
index 280f4798146..79e0805484b 100644
--- a/sys/dev/sun/sunkbdvar.h
+++ b/sys/dev/sun/sunkbdvar.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: sunkbdvar.h,v 1.13 2009/01/11 18:59:54 miod Exp $ */
+/* $OpenBSD: sunkbdvar.h,v 1.14 2009/01/12 17:45:37 miod Exp $ */
/*
* Copyright (c) 2002 Jason L. Wright (jason@thought.net)
@@ -37,6 +37,7 @@ struct sunkbd_softc {
struct device sc_dev;
int (*sc_sendcmd)(void *, u_int8_t *, u_int);
+ void (*sc_decode)(u_int8_t, u_int *, int *);
int sc_leds; /* LED status */
int sc_id; /* keyboard type */
@@ -63,7 +64,6 @@ extern struct wskbd_accessops sunkbd_accessops;
void sunkbd_attach(struct sunkbd_softc *, struct wskbddev_attach_args *);
void sunkbd_bellstop(void *);
-void sunkbd_decode(u_int8_t, u_int *, int *);
void sunkbd_input(struct sunkbd_softc *, u_int8_t *, u_int);
void sunkbd_raw(struct sunkbd_softc *, u_int8_t);
int sunkbd_setclick(struct sunkbd_softc *, int);