← Back to team overview

group.of.nepali.translators team mailing list archive

[Bug 1708372] Re: The Precision Touchpad(PTP) button sends incorrect event code

 

** Also affects: linux (Ubuntu Xenial)
   Importance: Undecided
       Status: New

-- 
You received this bug notification because you are a member of नेपाली
भाषा समायोजकहरुको समूह, which is subscribed to Xenial.
Matching subscriptions: Ubuntu 16.04 Bugs
https://bugs.launchpad.net/bugs/1708372

Title:
  The Precision Touchpad(PTP) button sends incorrect event code

Status in HWE Next:
  New
Status in linux package in Ubuntu:
  In Progress
Status in linux source package in Xenial:
  New

Bug description:
  [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.

To manage notifications about this bug go to:
https://bugs.launchpad.net/hwe-next/+bug/1708372/+subscriptions