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 |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
|
03-19-2005, 04:09 AM
|
#1
|
LQ Newbie
Registered: Dec 2003
Posts: 22
Rep:
|
Keyboard and mouse events
Hello, I have two questions. I am grouping them in one topic because they are somewhat along the same lines, though not exactly:
First, I have a Logitech MX510 mouse, connected via USB, which works almost perfectly. However, I would like to enable the two thumb buttons so that I can either use them in games, etc. I tried pressing them while I had xev running, with the mouse pointer inside the detection box, and no events were detected, though the other mouse buttons and mousewheel were all detected just fine. I have Option "Buttons" "7" and Option "ZAxisMapping" "4 5" set in my xorg.conf file; what additional configuration is required? On the same subject, I would like to know how to set my mouse precision to the max of 800; I hear it's at 400 by default, and I game a lot.
Second question:
I want to know if there is a way to manipulate keyboard events. Specifically, I want to change the keyboard so that the right Shift and Alt keys do the exact same thing as the left Ctrl and Alt keys; I have no need for a "Right and "Left" Ctrl and Alt key; just the left will do. Ideally, any solution would be both "up to date" and affect both CLI and X in one fell swoop. Otherwise, I'd like to know the simplest way to affect both individually.
I already know about xmodmap, but this only seems to affect X according to man xmodmap -- I want to know if there's a better way.
I'm running Slackware 10.1, let me know if any further info is required.
|
|
|
03-20-2005, 08:51 PM
|
#2
|
Member
Registered: Dec 2004
Distribution: SuSE, RedHat, ubuntu, Debian
Posts: 734
Rep:
|
Re: Keyboard and mouse events
Quote:
Originally posted by Soltis
Hello, I have two questions. I am grouping them in one topic because they are somewhat along the same lines, though not exactly:
First, I have a Logitech MX510 mouse, connected via USB, which works almost perfectly. However, I would like to enable the two thumb buttons so that I can either use them in games, etc. I tried pressing them while I had xev running, with the mouse pointer inside the detection box, and no events were detected, though the other mouse buttons and mousewheel were all detected just fine. I have Option "Buttons" "7" and Option "ZAxisMapping" "4 5" set in my xorg.conf file; what additional configuration is required? On the same subject, I would like to know how to set my mouse precision to the max of 800; I hear it's at 400 by default, and I game a lot.
Second question:
I want to know if there is a way to manipulate keyboard events. Specifically, I want to change the keyboard so that the right Shift and Alt keys do the exact same thing as the left Ctrl and Alt keys; I have no need for a "Right and "Left" Ctrl and Alt key; just the left will do. Ideally, any solution would be both "up to date" and affect both CLI and X in one fell swoop. Otherwise, I'd like to know the simplest way to affect both individually.
I already know about xmodmap, but this only seems to affect X according to man xmodmap -- I want to know if there's a better way.
I'm running Slackware 10.1, let me know if any further info is required.
|
The HOWTO I found seems to be aimed at Gentoo with kernel 2.6.8
http://www.linux-gamers.net/modules/...p?articleid=46
|
|
|
03-21-2005, 03:35 AM
|
#3
|
LQ Newbie
Registered: Dec 2003
Posts: 22
Original Poster
Rep:
|
As far as I can tell, the copy of X I have doesn't have evdev enabled, and I am NOT up to building X from scratch... is there any other solution that would work for me?
|
|
|
03-23-2005, 10:25 AM
|
#4
|
LQ Newbie
Registered: Dec 2003
Posts: 22
Original Poster
Rep:
|
Hello, some help, please?
|
|
|
All times are GMT -5. The time now is 08:14 AM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|