From owner-freebsd-questions@FreeBSD.ORG Sat Jul 28 08:36:49 2007 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 2799D16A417 for ; Sat, 28 Jul 2007 08:36:49 +0000 (UTC) (envelope-from youshi10@u.washington.edu) Received: from mxout1.cac.washington.edu (mxout1.cac.washington.edu [140.142.32.134]) by mx1.freebsd.org (Postfix) with ESMTP id 189A713C468 for ; Sat, 28 Jul 2007 08:36:49 +0000 (UTC) (envelope-from youshi10@u.washington.edu) Received: from smtp.washington.edu (smtp.washington.edu [140.142.32.139]) by mxout1.cac.washington.edu (8.13.7+UW06.06/8.13.7+UW07.06) with ESMTP id l6S8amXX029210 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK); Sat, 28 Jul 2007 01:36:48 -0700 X-Auth-Received: from [192.168.10.45] (c-24-10-12-194.hsd1.ca.comcast.net [24.10.12.194]) (authenticated authid=youshi10) by smtp.washington.edu (8.13.7+UW06.06/8.13.7+UW07.03) with ESMTP id l6S8alc1024832 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NOT); Sat, 28 Jul 2007 01:36:48 -0700 Message-ID: <46AB001B.7020204@u.washington.edu> Date: Sat, 28 Jul 2007 01:36:43 -0700 From: Garrett Cooper User-Agent: Thunderbird 2.0.0.5 (Windows/20070716) MIME-Version: 1.0 To: Rolf G Nielsen References: <46AAFD17.1020702@lazlarlyricon.com> In-Reply-To: <46AAFD17.1020702@lazlarlyricon.com> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-PMX-Version: 5.3.2.304607, Antispam-Engine: 2.5.1.298604, Antispam-Data: 2007.7.28.11533 X-Uwash-Spam: Gauge=IIIIIII, Probability=7%, Report='__CT 0, __CTE 0, __CT_TEXT_PLAIN 0, __HAS_MSGID 0, __MIME_TEXT_ONLY 0, __MIME_VERSION 0, __SANE_MSGID 0, __USER_AGENT 0' Cc: freebsd-questions@freebsd.org Subject: Re: Tracing mouse events X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 28 Jul 2007 08:36:49 -0000 Rolf G Nielsen wrote: > Does anyone know a utility, that would let me se mouse events in human > readable form? I recently bought a new mouse, which moused reports as > having 16 buttons, and xmodmap -pp reports 15 buttons. > > As far as I can see, it doesn't have 15 or 16 physical buttons. If I > count the wheel as two buttons, I get 8 or possibly 10: > > left & right (two buttons) > pushing the wheel (one button) > scrolling the wheel (two "buttons") > tilting the wheel left or right (two "buttons", which I guess are > intended for horizontal scrolling) > and a thumb button (one button) > > There are also two buttons, that increase or decrease the resolution > of the mouse, but I don't think those generate any mouse events. > > I'd like to find out which button is which, so I can install an actual > xmodmap that I'm happy with. > > /Rolf Nielsen Try xev. It captures all X11 input events within a small X widget created box. Beware though -- it captures all input, including mouse movement and keypresses. -Garrett