From owner-freebsd-questions@FreeBSD.ORG Tue May 24 07:19:29 2005 Return-Path: X-Original-To: freebsd-questions@freebsd.org 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 0261616A41C for ; Tue, 24 May 2005 07:19:29 +0000 (GMT) (envelope-from non_secure@yahoo.com) Received: from web53308.mail.yahoo.com (web53308.mail.yahoo.com [206.190.39.237]) by mx1.FreeBSD.org (Postfix) with SMTP id 7ECD843D1D for ; Tue, 24 May 2005 07:19:28 +0000 (GMT) (envelope-from non_secure@yahoo.com) Received: (qmail 43259 invoked by uid 60001); 24 May 2005 07:19:28 -0000 Comment: DomainKeys? See http://antispam.yahoo.com/domainkeys DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.com; b=ZSNVYvZxmsvhZ1prc9OlYjyaGUxhKXzYcQNbDsqJj7wxITjUgDgP+8qDGqMLYzL4+Uap3b5EiOcLCfPCs1dDpLhxUiFb6RmgFFofLExlCL2owtDtjlTyTxsS633jgx30B3WFFo88FxH4Avbpw4VYLBSlBdg/KPlVSya0+aFXpbE= ; Message-ID: <20050524071927.43257.qmail@web53308.mail.yahoo.com> Received: from [208.186.91.245] by web53308.mail.yahoo.com via HTTP; Tue, 24 May 2005 00:19:27 PDT Date: Tue, 24 May 2005 00:19:27 -0700 (PDT) From: Joe Schmoe To: freebsd-questions@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Subject: mapping mouse clicks to keystrokes in X ? 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: Tue, 24 May 2005 07:19:29 -0000 I want my two mouse buttons to create the letters z and x when I press them, instead of the normal actions that those mouse buttons send to X. Don't ask. It's as simple as it sounds: if I click mouse button one, it is as if I press z on the keyboard, if I click mouse button 2, it is as if I press x on the keyboard. Does anyone know how to do this ? I am looking at xmodmap, but even though it swaps mouse buttons around, and maps keys to other keys, I can't see how to make it map mouse buttons to keys... Any ideas ? __________________________________________________ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com