summaryrefslogtreecommitdiff
path: root/sys/dev/hil/devlist2h.awk
diff options
context:
space:
mode:
authorMiod Vallat <miod@cvs.openbsd.org>2005-05-13 14:54:45 +0000
committerMiod Vallat <miod@cvs.openbsd.org>2005-05-13 14:54:45 +0000
commit9c45654ec54ef38ba5a6ba6e877c6eee5d310eca (patch)
treeb3fe7afa9883477e54249803dac34df8767e99e9 /sys/dev/hil/devlist2h.awk
parenta22028cc5e999a5bc0c77f0bd9df404006700224 (diff)
Separate button boxens from keyboards in the HIL device list.
hilkbd will still match both, but will neither do the auto-layout dance nor attach as console for button boxens.
Diffstat (limited to 'sys/dev/hil/devlist2h.awk')
-rw-r--r--sys/dev/hil/devlist2h.awk4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/dev/hil/devlist2h.awk b/sys/dev/hil/devlist2h.awk
index 8c702ac02e8..4663efae4b9 100644
--- a/sys/dev/hil/devlist2h.awk
+++ b/sys/dev/hil/devlist2h.awk
@@ -1,5 +1,5 @@
#! /usr/bin/awk -f
-# $OpenBSD: devlist2h.awk,v 1.2 2005/05/07 22:39:43 miod Exp $
+# $OpenBSD: devlist2h.awk,v 1.3 2005/05/13 14:54:44 miod Exp $
#
# Copyright (c) 2003, Miodrag Vallat.
# All rights reserved.
@@ -41,7 +41,7 @@ NR == 1 {
next
}
-$1 == "keyboard" || $1 == "mouse" || $1 == "idmodule" {
+$1 == "keyboard" || $1 == "mouse" || $1 == "idmodule" || $1 == "buttonbox" {
if (header == 0) {
printf("const struct hildevice hildevs[] = {\n")