Bug 226961

Summary: [wsp] [patch] Add support for right & middle click with integrated button
Product: Base System Reporter: James Wright <james.wright>
Component: usbAssignee: Hans Petter Selasky <hselasky>
Status: Closed FIXED    
Severity: Affects Some People CC: hselasky
Priority: --- Keywords: patch
Version: CURRENT   
Hardware: amd64   
OS: Any   
Attachments:
Description Flags
wsp.c patch none

Description James Wright 2018-03-27 01:53:44 UTC
Created attachment 191862 [details]
wsp.c patch

Patch to add support for clicking the trackpad integrated button with 2 or 3 fingers for the right click and middle click respectively.

Tested on a MacBookAir 2015 model.

Please review and commit if ok!
Comment 1 commit-hook freebsd_committer freebsd_triage 2018-03-27 18:44:56 UTC
A commit references this bug:

Author: hselasky
Date: Tue Mar 27 18:44:05 UTC 2018
New revision: 331642
URL: https://svnweb.freebsd.org/changeset/base/331642

Log:
  Add support for right and middle click with integrated button to WSP
  USB trackpad driver.

  Submitted by:	James Wright <james.wright@jigsawdezign.com>
  PR:		226961
  MFC after:	1 week
  Sponsored by:	Mellanox Technologies

Changes:
  head/sys/dev/usb/input/wsp.c
Comment 2 Hans Petter Selasky freebsd_committer freebsd_triage 2018-03-27 18:46:56 UTC
Hi,

Thank you for your patch. Works over here aswell :-)

--HPS
Comment 3 commit-hook freebsd_committer freebsd_triage 2018-04-04 08:37:50 UTC
A commit references this bug:

Author: hselasky
Date: Wed Apr  4 08:37:24 UTC 2018
New revision: 331993
URL: https://svnweb.freebsd.org/changeset/base/331993

Log:
  MFC r331642:
  Add support for right and middle click with integrated button to WSP
  USB trackpad driver.

  Submitted by:	James Wright <james.wright@jigsawdezign.com>
  PR:		226961
  Sponsored by:	Mellanox Technologies

Changes:
_U  stable/11/
  stable/11/sys/dev/usb/input/wsp.c
Comment 4 commit-hook freebsd_committer freebsd_triage 2018-04-04 08:46:32 UTC
A commit references this bug:

Author: hselasky
Date: Wed Apr  4 08:45:41 UTC 2018
New revision: 331997
URL: https://svnweb.freebsd.org/changeset/base/331997

Log:
  MFC r331642:
  Add support for right and middle click with integrated button to WSP
  USB trackpad driver.

  Submitted by:	James Wright <james.wright@jigsawdezign.com>
  PR:		226961
  Sponsored by:	Mellanox Technologies

Changes:
_U  stable/10/
  stable/10/sys/dev/usb/input/wsp.c