summaryrefslogtreecommitdiff
path: root/sys/dev/hid/files.hid
diff options
context:
space:
mode:
authorJoshua Stein <jcs@cvs.openbsd.org>2016-01-08 15:54:15 +0000
committerJoshua Stein <jcs@cvs.openbsd.org>2016-01-08 15:54:15 +0000
commit7fd88a74dd552b0096c543e413327fbfb350ef80 (patch)
tree2ce2a269aaed833603cb04a343aa3c5e0049d0e8 /sys/dev/hid/files.hid
parentd24eef6904e463e49210a1e3bc560a2fe852dcbe (diff)
Move HID support files out of dev/usb into new dev/hid directory
These files aren't USB-specific and were used by the previous Bluetooth implementation, and will be used by the upcoming HID-over-i2C implementation ok deraadt previous version ok kettenis and mpi
Diffstat (limited to 'sys/dev/hid/files.hid')
-rw-r--r--sys/dev/hid/files.hid18
1 files changed, 18 insertions, 0 deletions
diff --git a/sys/dev/hid/files.hid b/sys/dev/hid/files.hid
new file mode 100644
index 00000000000..c2bd1d2ce80
--- /dev/null
+++ b/sys/dev/hid/files.hid
@@ -0,0 +1,18 @@
+# $OpenBSD: files.hid,v 1.1 2016/01/08 15:54:13 jcs Exp $
+
+# Human Interface Devices
+
+# HID "bus"
+define hidbus {[reportid = -1]}
+
+# HID processing
+define hid
+file dev/hid/hid.c hid
+
+# Keyboards
+define hidkbd
+file dev/hid/hidkbd.c hidkbd needs-flag
+
+# Mice
+define hidms
+file dev/hid/hidms.c hidms