Commit: e4f6c68f2a4dfbbdbc24379a5242564c65aa9ae2
Parent: db383a5b4a8d5ce5ae26c33abeff0dfd56860d21
Author: Luiz Augusto von Dentz <luiz.von.dentz@intel.com>
Committer: Luiz Augusto von Dentz <luiz.von.dentz@intel.com>
Date: 2024-05-20 21:14:11
Tree: 3a55e7aea8d8a4e78c4ee8b1b993d08165104595

shared/uhid: Add special handling for non-keyboards This adds special handling for non-keyboards so they are destroyed when disconnected rather than keeping their device node around. Fixes: https://github.com/bluez/bluez/issues/848

Diffstat

M android/hidhost.c | 3 ++-
M profiles/input/device.c | 20 ++++++++++++- - - - - - - -
M profiles/input/hog-lib.c | 43 +++++++++++++++++++++++++- - - - - - - - - - - - - - - - - -
M profiles/input/hog-lib.h | 4 ++- -
M profiles/input/hog.c | 6 ++++- -
M src/shared/uhid.c | 17 +++++++++++++- - - -
M src/shared/uhid.h | 31 ++++++++++++++++++++++++++++- - -
M unit/test-hog.c | 2 +-
M unit/test-uhid.c | 6 +++- - -

9 files changed, 90 insertions(+), 42 deletions(-)

View Full Diff | Patch