Public bug reported:
[Impact]
The touchpad right button should send 273(BTN_RIGHT),
and the left button should send 272(BTN_LEFT)
But the touchpad right button sends 274(BTN_MIDDLE),
and the left button sends 273 (BTN_RIGHT)
[Fix]
The fix is pretty simple to just decrease the event code by 1.
[Test Case]
Verified on the machine has this issue, and confirm this patch works.
[Regression Potential]
The patch has strict if statement, so it won't affect other touchpad devices.
And no more rework on this code snip after this commit.
** Affects: hwe-next
Importance: Undecided
Status: New
** Affects: linux (Ubuntu)
Importance: Undecided
Assignee: AceLan Kao (acelankao)
Status: In Progress
** Tags: originate-from-1707102 somerville
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1708372
Title:
The Precision Touchpad(PTP) button sends incorrect event code
To manage notifications about this bug go to:
https://bugs.launchpad.net/hwe-next/+bug/1708372/+subscriptions
--
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs