Home
last modified time | relevance | path

Searched refs:fake_hid (Results 1 – 3 of 3) sorted by relevance

/external/bluetooth/bluez/input/
Dfakehid.h24 struct fake_hid;
27 struct fake_hid { struct
33 int (*setup_uinput) (struct fake_input *fake, struct fake_hid *fake_hid); argument
37 struct fake_hid *get_fake_hid(uint16_t vendor, uint16_t product); argument
40 struct fake_hid *fake_hid);
Dfakehid.c276 struct fake_hid *fake_hid) in ps3remote_setup_uinput() argument
296 dev.id.vendor = fake_hid->vendor; in ps3remote_setup_uinput()
297 dev.id.product = fake_hid->product; in ps3remote_setup_uinput()
343 static struct fake_hid fake_hid_table[] = {
359 struct fake_hid *fhid) in fake_hid_match_device()
364 struct fake_hid *get_fake_hid(uint16_t vendor, uint16_t product) in get_fake_hid()
377 struct fake_hid *fake_hid) in fake_hid_connadd() argument
383 for (l = fake_hid->devices; l != NULL; l = l->next) { in fake_hid_connadd()
388 fake_hid->connect(fake, NULL); in fake_hid_connadd()
397 if (fake_hid->setup_uinput(fake, fake_hid)) { in fake_hid_connadd()
[all …]
Ddevice.c436 struct fake_hid *fhid = iconn->fake->priv; in fake_hid_connect()
443 struct fake_hid *fhid = iconn->fake->priv; in fake_hid_disconnect()
576 struct fake_hid *fake_hid; in hidp_add_connection() local
604 fake_hid = get_fake_hid(req->vendor, req->product); in hidp_add_connection()
605 if (fake_hid) { in hidp_add_connection()
610 fake->priv = fake_hid; in hidp_add_connection()
612 fake = fake_hid_connadd(fake, iconn->intr_io, fake_hid); in hidp_add_connection()