LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
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 03-19-2005, 03:09 AM   #1
Soltis
LQ Newbie
 
Registered: Dec 2003
Posts: 22

Rep: Reputation: 15
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.
 
Old 03-20-2005, 07:51 PM   #2
t3gah
Member
 
Registered: Dec 2004
Distribution: SuSE, RedHat, ubuntu, Debian
Posts: 734

Rep: Reputation: 30
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
 
Old 03-21-2005, 02:35 AM   #3
Soltis
LQ Newbie
 
Registered: Dec 2003
Posts: 22

Original Poster
Rep: Reputation: 15
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?
 
Old 03-23-2005, 09:25 AM   #4
Soltis
LQ Newbie
 
Registered: Dec 2003
Posts: 22

Original Poster
Rep: Reputation: 15
Hello, some help, please?
 
  


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
X11 Input drivers (keyboard and mouse), events Cyborg16 Linux - Software 1 05-22-2005 09:01 AM
Weird - Mouse button events for keyboard keypresses? pavgust Linux - Hardware 1 06-17-2004 04:44 AM
Mouse& keyboard events mvillarino Programming 0 05-27-2004 11:49 AM
Keyboard events under GNOME Dj Supreme Programming 1 02-13-2004 04:59 AM
how to capture mouse and keyboard events programatically karthikeyan Programming 3 02-21-2003 07:42 AM

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

All times are GMT -5. The time now is 07:39 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