LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
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: earth
Distribution: slackware by choice, others too :} ... android.
Posts: 23,067
Blog Entries: 11

Rep: Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928
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

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 12:40 AM.

Main Menu
Advertisement
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
Open Source Consulting | Domain Registration