Home | History | Annotate | Download | only in input

Lines Matching full:device

39 #include "../src/device.h"
41 #include "device.h"
50 static void input_remove(struct btd_device *device, const char *uuid)
52 const gchar *path = device_get_path(device);
59 static int hid_device_probe(struct btd_device *device, GSList *uuids)
61 struct btd_adapter *adapter = device_get_adapter(device);
62 const gchar *path = device_get_path(device);
63 const sdp_record_t *rec = btd_device_get_record(device, uuids->data);
72 device_get_address(device, &dst);
74 return input_device_register(connection, device, path, &src, &dst,
78 static void hid_device_remove(struct btd_device *device)
80 input_remove(device, HID_UUID);
83 static int headset_probe(struct btd_device *device, GSList *uuids)
85 struct btd_adapter *adapter = device_get_adapter(device);
86 const gchar *path = device_get_path(device);
98 record = btd_device_get_record(device, uuids->data);
115 device_get_address(device, &dst);
117 return fake_input_register(connection, device, path, &src, &dst,
121 static void headset_remove(struct btd_device *device)
123 input_remove(device, HSP_HS_UUID);