[gpm][PATCH] handle more mice

Nico Schottelius nicos-mutt@pcsystems.de
Sun, 30 Jun 2002 15:50:41 +0200


--TmwHKJoIRFM7Mu/A
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

either my mailer is broken or you forgot to attach a patch again.

why should someone use more than 2 mice ? I've even never used two at a
time. I think people only have two hands to use them, don't they ?

Nico

Pozsar Balazs [Sun, Jun 16, 2002 at 02:56:34AM +0200]:
> Hi again!
>=20
> This patch makes gpm handle up to 8 mice. (arbitrary limit, by a #define).
>=20
> The opt_double varible is renamed to mice_count to make it consistent with
> it's meaning.
> I tested it with 4 mice connected, and works great.
> Two possible problems:
> - in src/gpm.c, around line 988 there's a 'FIXME??', beacuse it wasn't
>   clear for me what the original code supposed to do different for
>   the first and second mice, and why. But it works :)
> - during argument parsing it doesn't check if the MAX_MICE_COUNT is
>   reached, so passing to much -M could make it segfault now.
>=20
>=20
> Comments welcome :)
>=20
> --=20
> pozsy
>=20
> _______________________________________________
> gpm mailing list
> gpm@lists.linux.it
> http://lists.linux.it/listinfo/gpm
>=20

--=20
Please send your messages pgp-signed and/or pgp-encrypted (don't encrypt ma=
ils
to mailing list!). If you don't know what pgp is visit www.gnupg.org.
(public pgp key: ftp.schottelius.org/pub/familiy/nico/pgp-key)

--TmwHKJoIRFM7Mu/A
Content-Type: application/pgp-signature
Content-Disposition: inline

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.6 (GNU/Linux)
Comment: For info see http://www.gnupg.org

iD8DBQE9HwyxtnlUggLJsX0RAo3HAKCCowGmuXQ1F28ddQCtMhtgRE3cygCcDqHM
oGOqdL6Y3avqW25/ZasMy+k=
=XW0K
-----END PGP SIGNATURE-----

--TmwHKJoIRFM7Mu/A--