Welcome to the most active Linux Forum on the web.
Go Back > Forums > Linux Forums > Linux - Software
User Name
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.


  Search this Thread
Old 10-26-2004, 07:28 PM   #1
LQ Newbie
Registered: Oct 2004
Posts: 1

Rep: Reputation: 0
Mapping keypresses to buttonpresses

I would like to do the following:

Pressing F9 is equivalent to pressing mouse button 1 (Left),
and releasing F9 is equivalent to releasing mouse button 1.

Similarly for F10 <-> button 2, and F11 <-> button 3.

I'm running Debian Woody 3 (mostly KDE), Knoppix 3.6,
and RH9, on different machines of course.
The mouse is a Logitech Trackman Wheel
(I got the wheel working) but I would imagine the solution
would be independent of mouse type (dependent on # buttons
of course).

I've tried xmodmap with F9 & Pointer_Button1,
as well as keycodes -> didn't work. The AccessX stuff
build into X is not what I'm looking for.

My objective is to reduce the number of times I need to
move my hand to the mouse, as well as simplifying window
resize and other drag-like operations which require motion
while holding down a mouse button (apparently some mice
now have drag-lock buttons, but I don't have that.)


Old 10-26-2004, 07:39 PM   #2
Registered: Apr 2002
Location: earth
Distribution: slackware by choice, others too :} ... android.
Posts: 23,067
Blog Entries: 11

Rep: Reputation: 927Reputation: 927Reputation: 927Reputation: 927Reputation: 927Reputation: 927Reputation: 927Reputation: 927
Get an IBM ultra-nav keyboard with a built-in trackpoint :)



Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
IP Mapping Numbr08 Linux - Software 0 10-14-2004 12:52 PM
IP Mapping Numbr08 Linux - Networking 0 10-14-2004 09:42 AM
Weird - Mouse button events for keyboard keypresses? pavgust Linux - Hardware 1 06-17-2004 05:44 AM
physical scsi channel mapping to scsiX device node mapping, how to configure manually drthornt Linux - Hardware 3 02-09-2003 12:50 PM
mapping chrismiceli Linux - Software 1 12-13-2002 07:46 AM > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 10:28 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration