LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices


Reply
  Search this Thread
Old 11-24-2006, 01:02 PM   #1
lixus
LQ Newbie
 
Registered: Nov 2006
Posts: 1

Rep: Reputation: 0
emulation of mouse buttons with the keyboard


Hi,

I'd like to map my left,middel,right mouse button to F14,F15,F16
so that I e.g could either click middel mouse button or F15 with the same effect.

On a Macintosh PowerBook this is possible by adding the following to /etc/sysctl.conf

# /etc/sysctl.conf - Configuration file for setting system variables
dev/mac_hid/mouse_button_emulation=1
dev/mac_hid/mouse_button2_keycode=68
dev/mac_hid/mouse_button3_keycode=87

I am wondering how this could be archived with an i386 machine.
I guess this is related to xmodmap but I can't figure out how to configure this.

TIA, lixus
 
Old 11-25-2006, 07:03 AM   #2
noranthon
Member
 
Registered: Apr 2006
Location: Australia
Distribution: PCLinuxOS with Xfce
Posts: 301

Rep: Reputation: 30
You would probably find better results by searching, but it so happens that I saw an example of code for key mapping recently.

Hope it helps.
 
  


Reply



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 On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Help binding mouse buttons to keyboard buttons Eckstona Linux - Hardware 6 09-24-2006 07:28 AM
Mouse and keyboard emulation fiomba Linux - Software 0 11-21-2004 05:33 PM
Keyboard and Mouse Buttons stop responding h2gofast Linux - General 2 02-26-2004 12:32 PM
keyboard/trackball combo -> no mouse buttons Achmed20 Linux - Hardware 1 02-21-2003 02:44 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 07:31 PM.

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