summaryrefslogtreecommitdiff
path: root/profiles/input/manager.c
diff options
context:
space:
mode:
authorJohan Hedberg <johan.hedberg@intel.com>2012-09-25 12:49:26 +0300
committerJohan Hedberg <johan.hedberg@intel.com>2012-09-25 12:49:26 +0300
commit5ad45a4b57d0aa6f2629196921b06bcf1539729d (patch)
tree0f3e54a0efdc5a20f0bdecf86a54d16896db82bb /profiles/input/manager.c
parent6ee8f62e85287c08bb8f55a072c07ad064d3519f (diff)
downloadbluez-5ad45a4b57d0aa6f2629196921b06bcf1539729d.tar.gz
input: Add Device.Connect support
Diffstat (limited to 'profiles/input/manager.c')
-rw-r--r--profiles/input/manager.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/profiles/input/manager.c b/profiles/input/manager.c
index c899b4e59..e9a9f998e 100644
--- a/profiles/input/manager.c
+++ b/profiles/input/manager.c
@@ -107,6 +107,9 @@ static struct btd_profile input_profile = {
.name = "input-hid",
.remote_uuids = BTD_UUIDS(HID_UUID),
+ .auto_connect = true,
+ .connect = input_device_connect,
+
.device_probe = hid_device_probe,
.device_remove = hid_device_remove,