[bluez/bluez] 92ed63: shared/uhid: Add dedicated functions for each UHID...

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



  Branch: refs/heads/master
  Home:   https://github.com/bluez/bluez
  Commit: 92ed637ab2bc44b812fd8c7bff5b5f41fcc48255
      https://github.com/bluez/bluez/commit/92ed637ab2bc44b812fd8c7bff5b5f41fcc48255
  Author: Luiz Augusto von Dentz <luiz.von.dentz@xxxxxxxxx>
  Date:   2024-03-11 (Mon, 11 Mar 2024)

  Changed paths:
    M src/shared/uhid.c
    M src/shared/uhid.h

  Log Message:
  -----------
  shared/uhid: Add dedicated functions for each UHID opcode

This adds bt_uhid_create which uses UHID_CREATE2 and tracks progress of
when the device is ready to receive events and in the meantime queues
them while waiting for UHID_START and other dedicated functions for each
UHID opcode so users don't need to build each command manually.


  Commit: 256d0b594d044222975f55e3b2d02990e0f88f87
      https://github.com/bluez/bluez/commit/256d0b594d044222975f55e3b2d02990e0f88f87
  Author: Luiz Augusto von Dentz <luiz.von.dentz@xxxxxxxxx>
  Date:   2024-03-11 (Mon, 11 Mar 2024)

  Changed paths:
    M profiles/input/hog-lib.c

  Log Message:
  -----------
  hog-lib: Use bt_uhid functions

This makes use of bt_uhid function instead of directly submitting
events directly using bt_uhid_send.


  Commit: c0c9e462be465ae3e9458256636f10f4d6acbedb
      https://github.com/bluez/bluez/commit/c0c9e462be465ae3e9458256636f10f4d6acbedb
  Author: Luiz Augusto von Dentz <luiz.von.dentz@xxxxxxxxx>
  Date:   2024-03-11 (Mon, 11 Mar 2024)

  Changed paths:
    M profiles/input/device.c

  Log Message:
  -----------
  input/device: Use bt_uhid functions

This makes use of bt_uhid function instead of directly submitting
events directly using bt_uhid_send.

Fixes: https://github.com/bluez/bluez/issues/771


  Commit: f5fecf037b1ea31612cb0226cc2634994a4671c4
      https://github.com/bluez/bluez/commit/f5fecf037b1ea31612cb0226cc2634994a4671c4
  Author: Luiz Augusto von Dentz <luiz.von.dentz@xxxxxxxxx>
  Date:   2024-03-11 (Mon, 11 Mar 2024)

  Changed paths:
    M unit/test-uhid.c

  Log Message:
  -----------
  test-uhid: Test bt_uhid functions

This tests bt_uhid_create, bt_uhid_input and bt_uhid_destroy instead of
directly submitting UHID_CREATE, UHID_INPUT and UHID_DESTROY.


Compare: https://github.com/bluez/bluez/compare/c9dddb642663...f5fecf037b1e

To unsubscribe from these emails, change your notification settings at https://github.com/bluez/bluez/settings/notifications




[Index of Archives]     [Bluez Devel]     [Linux Wireless Networking]     [Linux Wireless Personal Area Networking]     [Linux ATH6KL]     [Linux USB Devel]     [Linux Media Drivers]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [Big List of Linux Books]

  Powered by Linux