Help answer threads with 0 replies.
Go Back > Forums > Linux Forums > Linux - Software
User Name
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.


  Search this Thread
Old 05-19-2005, 06:56 AM   #1
LQ Newbie
Registered: Feb 2005
Distribution: Debian "Sarge" testing
Posts: 19

Rep: Reputation: 0
X11 Input drivers (keyboard and mouse), events

Ok, since the search didn't work I tried trawling through a few pages of posts. Not entirely sure if this should be in the hardware page since it's largely about drivers...

Anyway, basically I find the X11 drivers for my keyboard (Logitech Internet Navigatior keyboard model):
Driver "Keyboard"
Option "CoreKeyboard"
Option "XkbRules" "xfree86"
Option "XkbModel" "logiink2" -- note: this is a modified logiink XkbModel since some of the events are generated differently on my keyboard
Option "XkbLayout" "dvorak"
Option "XkbVariant" "gb_semi"

And for my mouse (Intellimouse Optical USB, 7 buttons as X sees it (4 and a wheel-button)):
Driver "mouse"
Option "CorePointer"
Option "Protocol" "ExplorerPS/2"
Option "ZAxisMapping" "6 7"
Option "Device" "/dev/input/mice"
Option "Buttons" "7"

Now my problems with the drivers:
The keyboard: some of the extra keys are generated as mouse clicks (and can't be differentiated from the mouse with xev), and my keyboard has an annoying F-Lock -- I was going to remap the keys so I didn't have to use it, but with the F-Lock off, only two of the F-keys are actually registered by xev.
The mouse: I only found this when developing an input controller interface using SDL, so it's not a major problem, but while the left and right mouse buttons work fine, the middle button only generates DOWN-UP events on release, so the actual click isn't detected (it is in windows; I tried to test with another mouse but couldn't get it to work in linux), and the side buttons on the mouse generate DOWN-UP events on press, then an extra UP event on release.

Umm, I guess I'm being very picky about these minor details, especially the mouse, but does anyone have any ideas, e.g. alternate drivers I can use (particularly for the keyboard)?
I've been using linux (debian testing/unstable) for a few months now, so have a bit of experience, but not in all areas of linux...
If no other drivers are available could anyone give me some pointers towards driver development? Or maybe that's beyond me, I don't know...
Old 05-22-2005, 09:01 AM   #2
LQ Newbie
Registered: Feb 2005
Distribution: Debian "Sarge" testing
Posts: 19

Original Poster
Rep: Reputation: 0
No help? Am I looking in the wrong place -- anyone know a better place to ask?


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
Disable mouse, keyboard or other input devices / drivers bastl Programming 0 05-15-2005 06:39 AM
Keyboard and mouse events Soltis Linux - General 3 03-23-2005 09:25 AM
Mouse& keyboard events mvillarino Programming 0 05-27-2004 11:49 AM
my mouse input is takes as keyboard input in BASH e1000 Slackware 5 12-08-2003 03:00 PM
how to capture mouse and keyboard events programatically karthikeyan Programming 3 02-21-2003 07:42 AM > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 05:48 AM.

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