Parent: de492ac82dc504192a893e570b07fce004195cd3
Author: Haakon Drews <haadr@negentropy.io>
Committer: Luiz Augusto von Dentz <luiz.von.dentz@intel.com>
Date: 2020-05-19 00:05:34
Tree: 9028ea5a1f8b96e91bdc72f00eeb527b9ce7eedb
hog: Set vendor, product and version for all instances Set the the correct vendor and product ids for all UHID/HoG devices when they are unknown at HoG creation time. Before this change, when connecting a BT device with multiple HoG services for the first time, only the first HoG instance's vendor, product and version fields would be set by the DIS callback. This meant that all HoG instances except the first would be left with unset values and their UHID devices would then be created with '0000:0000' as their vendor:product ids.
Diffstat
| M | profiles/input/hog-lib.c | | | 9 | +++++++++ |
1 files changed, 9 insertions(+), 0 deletions(-)