LinuxQuestions.org
Register a domain and help support LQ
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 05-19-2005, 07:56 AM   #1
Cyborg16
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, 10:01 AM   #2
Cyborg16
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?
 
  


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


All times are GMT -5. The time now is 03:14 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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration