Date: Tue, 24 May 2005 00:19:27 -0700 (PDT) From: Joe Schmoe <non_secure@yahoo.com> To: freebsd-questions@freebsd.org Subject: mapping mouse clicks to keystrokes in X ? Message-ID: <20050524071927.43257.qmail@web53308.mail.yahoo.com>
next in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20050524071927.43257.qmail>