Date: Sat, 06 Dec 2014 01:07:04 +0100 From: Felix Palmen <felix@palmen-it.de> To: freebsd-x11@freebsd.org Subject: Re: [Call for testers] Update to xorg-server 1.14 Message-ID: <1584698.FRGZISf7JL@nexus> In-Reply-To: <547E4B03.2090508@FreeBSD.org> References: <547E4B03.2090508@FreeBSD.org>
next in thread | previous in thread | raw e-mail | index | archive | help
--nextPart3763112.KoFou7yfnR Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="iso-8859-1" Am Mittwoch, 3. Dezember 2014, 00:28:03 schrieb Jean-S=E9bastien P=E9dr= on: > An update to xorg-server is almost ready. We would like people to tes= t > it and report if there's something wrong with it. Works fine for me, using the devd backend. Any chance to support a w-ax= is=20 (horizontal scrolling) through moused in the next release? I've got it = working=20 with the following, on top of the existing patches, based on=20 https://wiki.freebsd.org/SynapticsTouchpad#Patch #v+ =2D-- src/mouse.c.orig 2014-12-06 00:49:30.000000000 +0100 +++ src/mouse.c 2014-12-06 00:51:08.000000000 +0100 @@ -969,7 +969,11 @@ for (i =3D 0; i < MSE_MAXBUTTONS; i++) pMse->buttonMap[i] =3D 1 << (i > 2 && i < MSE_MAXBUTTONS-4 ? i= +4 : i); pMse->hasZ =3D 1; =2D pMse->hasW =3D 0; + if (device && strncmp(device, "/dev/sysmouse", 13) =3D=3D 0) { + pMse->hasW =3D 1; + } else { + pMse->hasW =3D 0; + } protocol =3D MousePickProtocol(pInfo, device, protocol, &protocolI= D); @@ -1611,6 +1615,13 @@ */ dz =3D ((signed char)(pBuf[5] << 1) + (signed char)(pBuf[6] << 1)) >> 1; + if (dz =3D=3D 2) { + dw =3D 1; + dz =3D 0; + } else if (dz =3D=3D -2) { + dw =3D -1; + dz =3D 0; + } buttons |=3D (int)(~pBuf[7] & 0x7f) << 3; } break; #v- Sure looks a bit "hacky" ... BR, Felix =2D-=20 Dipl.-Inform. Felix Palmen <felix@palmen-it.de> ,.//.......... {web} http://palmen-it.de {jabber} [see email] ,//palmen-it.de {pgp public key} http://palmen-it.de/pub.txt // """"""""""" {pgp fingerprint} ED9B 62D0 BE39 32F9 2488 5D0C 8177 9D80 5ECF F683 --nextPart3763112.KoFou7yfnR Content-Type: application/pgp-signature; name="signature.asc" Content-Description: This is a digitally signed message part. Content-Transfer-Encoding: 7Bit -----BEGIN PGP SIGNATURE----- Version: GnuPG v2 iJwEAAECAAYFAlSCSLwACgkQBKr7eDEb1w2CagP/QDNut0QVhSjlL9aLk78iTj4l 6+OFu0Ogmq08xUBk9frddvMqf9/EAN1cbautnrjc7OHCoT/4Ib8s12Mbd+f9//FO fK4wEH2dHLQ1/CLUgzfU+XDnVHOlp/3renImYSzedPOvcAUmFRIeQa4BhRuwBkYi SKnh/4aE5MCpUv/FXyg= =/tl2 -----END PGP SIGNATURE----- --nextPart3763112.KoFou7yfnR--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?1584698.FRGZISf7JL>