FreeBSD Bugzilla – Attachment 191862 Details for
Bug 226961
[wsp] [patch] Add support for right & middle click with integrated button
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
wsp.c patch
wsp_patch.diff (text/plain), 631 bytes, created by
James Wright
on 2018-03-27 01:53:44 UTC
(
hide
)
Description:
wsp.c patch
Filename:
MIME Type:
Creator:
James Wright
Created:
2018-03-27 01:53:44 UTC
Size:
631 bytes
patch
obsolete
>Index: sys/dev/usb/input/wsp.c >=================================================================== >--- sys/dev/usb/input/wsp.c (revision 331531) >+++ sys/dev/usb/input/wsp.c (working copy) >@@ -929,7 +929,12 @@ > sc->sc_status.button = 0; > > if (ibt != 0) { >- sc->sc_status.button |= MOUSE_BUTTON1DOWN; >+ if (params->caps & HAS_INTEGRATED_BUTTON && ntouch == 2) >+ sc->sc_status.button |= MOUSE_BUTTON3DOWN; >+ else if (params->caps & HAS_INTEGRATED_BUTTON && ntouch == 3) >+ sc->sc_status.button |= MOUSE_BUTTON2DOWN; >+ else >+ sc->sc_status.button |= MOUSE_BUTTON1DOWN; > sc->ibtn = 1; > } > sc->intr_count++;
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 226961
: 191862