mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-29 03:01:39 -04:00
HID: multitouch: Add suffix for HID_DG_TOUCHPAD
Instead of printing "UNKNOWN" as device suffix for HID_DG_TOUCHPAD call the device as "Touchpad". Signed-off-by: Mika Westerberg <[email protected]> Acked-by: Benjamin Tissoires <[email protected]> Reviewed-by: Daniel Martin <[email protected]> Signed-off-by: Jiri Kosina <[email protected]>
This commit is contained in:
parent
851328feb8
commit
dc425a1c8c
1 changed files with 3 additions and 0 deletions
|
|
@ -968,6 +968,9 @@ static void mt_input_configured(struct hid_device *hdev, struct hid_input *hi)
|
|||
case HID_DG_TOUCHSCREEN:
|
||||
/* we do not set suffix = "Touchscreen" */
|
||||
break;
|
||||
case HID_DG_TOUCHPAD:
|
||||
suffix = "Touchpad";
|
||||
break;
|
||||
case HID_GD_SYSTEM_CONTROL:
|
||||
suffix = "System Control";
|
||||
break;
|
||||
|
|
|
|||
Loading…
Reference in a new issue