Skip to contentSkip to conversation

atkbd scroll-wheel and extra buttons

DISCUSSION Jörgen Lidholm 1 participant 1 message Apr 14, 2004

lore
Share & tools
lore
#0 lore raw

I have a "Microsoft Wireless Desktop Elite Keyboard" and I like it a lot.
When I saw the post about the on-keyboard-wheel support I tried to get it to work. But sadly I didn't.
When I run xev and spinns the wheel up and down nothing is reported. Though the evtest program (I think most of you know about it already) do report stuff about it

My questions are:
The wheel codes are hardcoded into atkbd.c, are these codes reported by the keyboard?
If not what is reported for the working keyboards?
Where do I start if I would like to add support for my scrollwheel? Is it the event interface or is it the atkbd driver? Or might it just be a configuration issue?

I've added atkbd.scroll=1 boot option.
By the way the evtest report the following for my wheel

Event: time 1081961368.154573, type 2 (Relative), code 9 (?), value 1
Event: time 1081961368.154577, type 0 (Reset), code 0 (Reset), value 0

This is one "scroll-step" the value differs depending on the speed and direction of the scroll. Negative values for scrolling down.

/Joergen

Signature · 4 lines
Jörgen Lidholm
Student, University of Mälardalen

jlm01001(at)student(dot)mdh(dot)se