forked fromtorvalds/linux
- Notifications
You must be signed in to change notification settings - Fork0
Commitee5e584
HID: logitech-dj: Handle quad/bluetooth keyboards with a builtin trackpad
Some quad/bluetooth keyboards, such as the Dinovo Edge (Y-RAY81) have abuiltin touchpad. In this case when asking the receiver for paired devices,we get only 1 paired device with a device_type of REPORT_TYPE_KEYBOARD.This means that we do not instantiate a second dj_hiddev for the mouse(as we normally would) and thus there is no place for us to forward themouse input reports to, causing the touchpad part of the keyboard to notwork.There is no way for us to detect these keyboards, so this commit addsan array with device-ids for such keyboards and when a keyboard is onthis list it adds STD_MOUSE to the reports_supported bitmap for thedj_hiddev created for the keyboard fixing the touchpad not working.Using a list of device-ids for this is not ideal, but there are onlyvery few such keyboards so this should be fine. Besides the Dinovo Edge,other known wireless Logitech keyboards with a builtin touchpad are:* Dinovo Mini (TODO add its device-id to the list)* K400 (uses a unifying receiver so is not affected)* K600 (uses a unifying receiver so is not affected)Cc: stable@vger.kernel.orgBugLink:https://bugzilla.redhat.com/show_bug.cgi?id=1811424Fixes:f2113c3 ("HID: logitech-dj: add support for Logitech Bluetooth Mini-Receiver")Signed-off-by: Hans de Goede <hdegoede@redhat.com>Signed-off-by: Benjamin Tissoires <benjamin.tissoires@redhat.com>1 parentf59ee39 commitee5e584
1 file changed
+19
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
866 | 866 | | |
867 | 867 | | |
868 | 868 | | |
| 869 | + | |
| 870 | + | |
| 871 | + | |
| 872 | + | |
| 873 | + | |
| 874 | + | |
| 875 | + | |
| 876 | + | |
| 877 | + | |
| 878 | + | |
| 879 | + | |
869 | 880 | | |
870 | 881 | | |
871 | 882 | | |
872 | 883 | | |
873 | 884 | | |
| 885 | + | |
874 | 886 | | |
875 | 887 | | |
876 | 888 | | |
| |||
882 | 894 | | |
883 | 895 | | |
884 | 896 | | |
| 897 | + | |
| 898 | + | |
| 899 | + | |
| 900 | + | |
| 901 | + | |
| 902 | + | |
| 903 | + | |
885 | 904 | | |
886 | 905 | | |
887 | 906 | | |
| |||
0 commit comments
Comments
(0)