summaryrefslogtreecommitdiff
path: root/libc/kernel/uapi/linux/hidraw.h
diff options
context:
space:
mode:
authorChristopher Ferris <cferris@google.com>2021-02-19 19:47:44 +0000
committerGerrit Code Review <noreply-gerritcodereview@google.com>2021-02-19 19:47:44 +0000
commitd29cac66b426d59afd7ce7da9519b6d43f5df0cc (patch)
tree64fdb7e0316c8d85bb02e4d0dcef0a5f6cd6e6f5 /libc/kernel/uapi/linux/hidraw.h
parentb69a0d496930b1faf2559ce268064bc1a005215e (diff)
parent05667cd66a3ea0e75611f1bec36a67098ac92179 (diff)
Merge "Update to v5.11 kernel headers."
Diffstat (limited to 'libc/kernel/uapi/linux/hidraw.h')
-rw-r--r--libc/kernel/uapi/linux/hidraw.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/libc/kernel/uapi/linux/hidraw.h b/libc/kernel/uapi/linux/hidraw.h
index ab7ed1c5a..65020ac62 100644
--- a/libc/kernel/uapi/linux/hidraw.h
+++ b/libc/kernel/uapi/linux/hidraw.h
@@ -37,6 +37,10 @@ struct hidraw_devinfo {
#define HIDIOCSFEATURE(len) _IOC(_IOC_WRITE | _IOC_READ, 'H', 0x06, len)
#define HIDIOCGFEATURE(len) _IOC(_IOC_WRITE | _IOC_READ, 'H', 0x07, len)
#define HIDIOCGRAWUNIQ(len) _IOC(_IOC_READ, 'H', 0x08, len)
+#define HIDIOCSINPUT(len) _IOC(_IOC_WRITE | _IOC_READ, 'H', 0x09, len)
+#define HIDIOCGINPUT(len) _IOC(_IOC_WRITE | _IOC_READ, 'H', 0x0A, len)
+#define HIDIOCSOUTPUT(len) _IOC(_IOC_WRITE | _IOC_READ, 'H', 0x0B, len)
+#define HIDIOCGOUTPUT(len) _IOC(_IOC_WRITE | _IOC_READ, 'H', 0x0C, len)
#define HIDRAW_FIRST_MINOR 0
#define HIDRAW_MAX_DEVICES 64
#define HIDRAW_BUFFER_SIZE 64