From owner-freebsd-questions@FreeBSD.ORG Mon Mar 28 22:44:50 2005 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 075B116A4CE for ; Mon, 28 Mar 2005 22:44:50 +0000 (GMT) Received: from russian-caravan.cloud9.net (russian-caravan.cloud9.net [168.100.1.4]) by mx1.FreeBSD.org (Postfix) with ESMTP id 771BF43D41 for ; Mon, 28 Mar 2005 22:44:49 +0000 (GMT) (envelope-from leblanc@keyslapper.net) Received: from russian-caravan.cloud9.net (localhost [127.0.0.1]) by russian-caravan.cloud9.net (Postfix) with SMTP id BE61D174D5 for ; Mon, 28 Mar 2005 17:44:48 -0500 (EST) Received: from keyslapper.net (250-119.customer.cloud9.net [168.100.250.119]) by russian-caravan.cloud9.net (Postfix) with ESMTP id 3147217332 for ; Mon, 28 Mar 2005 17:44:48 -0500 (EST) Received: from localhost (localhost [127.0.0.1]) by keyslapper.net (Postfix) with ESMTP id C912C114EF for ; Mon, 28 Mar 2005 17:44:47 -0500 (EST) Received: from keyslapper.net ([127.0.0.1]) by localhost (keyslapper.net [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 71628-04 for ; Mon, 28 Mar 2005 17:44:47 -0500 (EST) Received: by keyslapper.net (Postfix, from userid 1001) id 9BE93114ED; Mon, 28 Mar 2005 17:44:47 -0500 (EST) Date: Mon, 28 Mar 2005 17:44:47 -0500 From: Louis LeBlanc To: FreeBSD Questions Message-ID: <20050328224447.GA73364@keyslapper.net> Mail-Followup-To: FreeBSD Questions Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="PNTmBPCT7hxwcZjr" Content-Disposition: inline X-PGP-Key: http://www.keyslapper.net/~leblanc/leblanc-at-keyslapper-net.asc User-Agent: Mutt/1.5.9i X-Virus-Scanned: amavisd-new at keyslapper.net X-AntiVirus: Checked by Vexira Antivirus v1.5 Subject: xmodmap and juggling secondary pointer buttons X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: freebsd-questions@FreeBSD.org List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 28 Mar 2005 22:44:50 -0000 --PNTmBPCT7hxwcZjr Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable I'm confused. xmodmap does not seem to be able to rearrange secondary pointer device buttons in any way. I have two pointer devices (as implied above) that work fine, so long as I keep the secondary configured to use only the basic 3 buttons and wheel. Both devices have two additional buttons, but they (all) behave strangely unless I use the following line in .xsession: xmodmap -e "pointer =3D 1 2 3 6 7 4 5" This changes the button reporting in xev for the core pointer device, but not the secondary pointer. Without that, the wheel acts as a forward/back history click in my browser, and the extra buttons act like the scroll up/down should. This makes the extra buttons behave as a history forward/back, and the wheel behave as it's expected to. I've tried changing the ZAxisMapping settings, but this doesn't seem to make a difference. I've also tried a number of different configs and ZAxisMapping settings, and I've narrowed it down to the CorePointer/SendCoreEvents options. My pointer buttons report as follows: $ xmodmap -pp There are 7 pointer buttons defined. Physical Button Button Code 1 1 2 2 3 3 4 6 5 7 6 4 7 5 This is accurate for the primary pointer, but not the secondary. If I configure the secondary to use ZAxisMapping of "4 5" the wheel works as expected and the extra buttons don't report at all. If I use "6 7", the extra buttons work like the wheel scrolling is expected, and the wheel scroll works like the extra buttons are expected (and do in the primary pointer. It's minor at this point, but I'm still curious; does anyone know why this happens, and if there's a workaround to get the secondary pointer buttons rearranged? TIA Lou --=20 Louis LeBlanc FreeBSD-at-keyslapper-DOT-net Fully Funded Hobbyist, KeySlapper Extrordinaire :) Please send off-list email to: leblanc at keyslapper d.t net Key fingerprint =3D C5E7 4762 F071 CE3B ED51 4FB8 AF85 A2FE 80C8 D9A2 Statistics means never having to say you're certain. --PNTmBPCT7hxwcZjr Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.0 (FreeBSD) iD8DBQFCSIjfr4Wi/oDI2aIRApJcAJ9Za0uugR8TVWRGsOlHBLeT1uwoLgCcCMv0 3z1XW4YvSaPEWbz6r+cARyU= =UwDj -----END PGP SIGNATURE----- --PNTmBPCT7hxwcZjr--