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):
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)):
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...