summaryrefslogtreecommitdiff
path: root/Makefile.plugins
diff options
context:
space:
mode:
authorPetri Gynther <pgynther@google.com>2014-05-08 13:00:01 -0700
committerJohan Hedberg <johan.hedberg@intel.com>2014-05-08 23:08:31 +0300
commit054bfbcf4acb478ff936b75b7ddb7b2329721349 (patch)
tree648b151f317e25ec3c044a32900d9aac311dbe69 /Makefile.plugins
parent98af476502b6be91bfe4034801abcdfe8e2754ff (diff)
downloadbluez-054bfbcf4acb478ff936b75b7ddb7b2329721349.tar.gz
input: Add userspace HID support
Enable HID protocol handling in userspace when UserspaceHID=true in input.conf. Benefits of userspace HID: 1. Persistent HID/input pipeline For a Bluetooth HID device, the corresponding kernel HID/input devices are created only once when the Bluetooth HID device is used the first time. The HID/input pipeline is not destroyed and recreated every time when the Bluetooth HID device disconnects and reconnects. 2. HID vs HoG parity Enables HID and HoG devices to operate the same way in BlueZ stack, using uHID kernel module (/dev/uhid) to pass HID report data between bluetoothd and kernel HID subsystem. 3. Debugging It is easier to debug HID protocol in userspace than in HIDP kernel module.
Diffstat (limited to 'Makefile.plugins')
-rw-r--r--Makefile.plugins3
1 files changed, 2 insertions, 1 deletions
diff --git a/Makefile.plugins b/Makefile.plugins
index 6a1ddbf41..f0eada962 100644
--- a/Makefile.plugins
+++ b/Makefile.plugins
@@ -55,7 +55,8 @@ builtin_sources += profiles/network/manager.c \
builtin_modules += input
builtin_sources += profiles/input/manager.c \
profiles/input/server.h profiles/input/server.c \
- profiles/input/device.h profiles/input/device.c
+ profiles/input/device.h profiles/input/device.c \
+ profiles/input/uhid_copy.h profiles/input/hidp_defs.h
builtin_modules += hog
builtin_sources += profiles/input/hog.c profiles/input/uhid_copy.h \