LinuxQuestions.org
Did you know LQ has a Linux Hardware Compatibility List?
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
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.

Notices

Reply
 
Search this Thread
Old 10-26-2004, 06:28 PM   #1
dhow
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.)

Thanks

Dana
 
Old 10-26-2004, 06:39 PM   #2
Tinkster
Moderator
 
Registered: Apr 2002
Location: in a fallen world
Distribution: slackware by choice, others too :} ... android.
Posts: 22,978
Blog Entries: 11

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



Cheers,
Tink
 
  


Reply


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 11:52 AM
IP Mapping Numbr08 Linux - Networking 0 10-14-2004 08:42 AM
Weird - Mouse button events for keyboard keypresses? pavgust Linux - Hardware 1 06-17-2004 04:44 AM
physical scsi channel mapping to scsiX device node mapping, how to configure manually drthornt Linux - Hardware 3 02-09-2003 11:50 AM
mapping chrismiceli Linux - Software 1 12-13-2002 06:46 AM


All times are GMT -5. The time now is 09:27 PM.

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