summaryrefslogtreecommitdiff
path: root/sys
diff options
context:
space:
mode:
authorMichael Shalayeff <mickey@cvs.openbsd.org>2001-06-08 03:23:27 +0000
committerMichael Shalayeff <mickey@cvs.openbsd.org>2001-06-08 03:23:27 +0000
commit37950849063a8ba6857effcb862c73fc03a07061 (patch)
treeb260e985cafd07c9a671bc52da7f7bcd5b7ee674 /sys
parentf54b26ca87a0e5c6764f27175d3f2c975a438fad (diff)
and add a note on result value importance
Diffstat (limited to 'sys')
-rw-r--r--sys/dev/wscons/wskbd.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/sys/dev/wscons/wskbd.c b/sys/dev/wscons/wskbd.c
index e21ad8f8cd1..71be0e9ad25 100644
--- a/sys/dev/wscons/wskbd.c
+++ b/sys/dev/wscons/wskbd.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: wskbd.c,v 1.17 2001/06/08 03:20:31 mickey Exp $ */
+/* $OpenBSD: wskbd.c,v 1.18 2001/06/08 03:23:26 mickey Exp $ */
/* $NetBSD: wskbd.c,v 1.38 2000/03/23 07:01:47 thorpej Exp $ */
/*
@@ -203,6 +203,7 @@ struct wskbd_softc {
#define MOD_ANYCONTROL (MOD_CONTROL_L | MOD_CONTROL_R)
#define MOD_ANYMETA (MOD_META_L | MOD_META_R)
+ /* these should result in precise 0 or 1, see wskbd_translate() XXX */
#define MOD_ONESET(id, mask) (((id)->t_modifiers & (mask)) != 0)
#define MOD_ALLSET(id, mask) (((id)->t_modifiers & (mask)) == (mask))