From 37950849063a8ba6857effcb862c73fc03a07061 Mon Sep 17 00:00:00 2001 From: Michael Shalayeff Date: Fri, 8 Jun 2001 03:23:27 +0000 Subject: and add a note on result value importance --- sys/dev/wscons/wskbd.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'sys') 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)) -- cgit v1.2.3