FreeBSD Bugzilla – Attachment 175134 Details for
Bug 205690
[psm] [patch]: Add support for Elantech trackpads
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
patch-w_axis
patch-w_axis (text/plain), 920 bytes, created by
Vladimir Kondratyev
on 2016-09-24 17:42:55 UTC
(
hide
)
Description:
patch-w_axis
Filename:
MIME Type:
Creator:
Vladimir Kondratyev
Created:
2016-09-24 17:42:55 UTC
Size:
920 bytes
patch
obsolete
>--- src/mouse.c.orig 2015-02-26 16:28:43.512928000 +0300 >+++ src/mouse.c 2015-02-26 16:29:08.348494000 +0300 >@@ -969,7 +969,7 @@ MousePreInit(InputDriverPtr drv, InputIn > for (i = 0; i < MSE_MAXBUTTONS; i++) > pMse->buttonMap[i] = 1 << (i > 2 && i < MSE_MAXBUTTONS-4 ? i+4 : i); > pMse->hasZ = 1; >- pMse->hasW = 0; >+ pMse->hasW = 1; > > protocol = MousePickProtocol(pInfo, device, protocol, &protocolID); > >@@ -1611,6 +1611,13 @@ MouseReadInput(InputInfoPtr pInfo) > */ > dz = ((signed char)(pBuf[5] << 1) + > (signed char)(pBuf[6] << 1)) >> 1; >+ if (dz == 2) { >+ dw = 1; >+ dz = 0; >+ } else if (dz == -2) { >+ dw = -1; >+ dz = 0; >+ } > buttons |= (int)(~pBuf[7] & 0x7f) << 3; > } > break;
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 205690
:
164815
|
171472
|
171478
|
171497
|
171570
|
171573
|
171726
|
172681
|
172702
|
174447
|
175131
| 175134 |
175144
|
175154
|
175339