summaryrefslogtreecommitdiff
path: root/include/linux/uhid.h
diff options
context:
space:
mode:
authorDavid Herrmann <dh.herrmann@googlemail.com>2012-06-10 15:16:21 +0200
committerColin Cross <ccross@android.com>2012-08-16 12:44:28 -0700
commit245fd8c6b76e8b082f6d233886d35c3e27e89d53 (patch)
tree0406a3fee40028d47d94824e4adae75682455e31 /include/linux/uhid.h
parent66454600e60af2b35fb51f88006911532862ba25 (diff)
HID: uhid: add UHID_START and UHID_STOP events
We send UHID_START and UHID_STOP events to user-space when the HID core starts/stops the device. This notifies user-space about driver readiness and data-I/O can start now. This directly forwards the callbacks from hid-core to user-space. Signed-off-by: David Herrmann <dh.herrmann@googlemail.com> Signed-off-by: Jiri Kosina <jkosina@suse.cz>
Diffstat (limited to 'include/linux/uhid.h')
-rw-r--r--include/linux/uhid.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/linux/uhid.h b/include/linux/uhid.h
index 6eb42bea86a2..f8ce6f7571d8 100644
--- a/include/linux/uhid.h
+++ b/include/linux/uhid.h
@@ -25,6 +25,8 @@
enum uhid_event_type {
UHID_CREATE,
UHID_DESTROY,
+ UHID_START,
+ UHID_STOP,
UHID_INPUT,
};