MFC:
Do not mark Bluetooth HID device as "potential keyboard" if its descriptor has items with CONSUMER page. For now only check for items with KEYBOARD page. This should prevent bthidd(8) from allocating vkbd(4) keyboard for Microsoft Bluetooth Explorer mouse. Approved by: re (bmah)
This commit is contained in:
parent
efea2ca394
commit
60682eee3e
@ -372,7 +372,7 @@ check_hid_device(hid_device_p d)
|
||||
case hid_input:
|
||||
/* Check if the device may send keystrokes */
|
||||
page = HID_PAGE(hi.usage);
|
||||
if (page == HUP_KEYBOARD || page == HUP_CONSUMER)
|
||||
if (page == HUP_KEYBOARD)
|
||||
d->keyboard = 1;
|
||||
break;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user