I have a Kensington Expert Mouse Pro (actually a trackball not a mouse) with four real buttons, the clickable mouse wheel, and six other 'programmable' buttons. I'm using the most recent CVS checkout of XFree86 on Linux/x86. I'd like to use more buttons, but it seems that I can only support five.
To elucidate, here's an awful ASCII-art diagram of the buttons and their current behavior. +-------------+ |u|v|w| |x|y|z| |-------------| | - |s| - | | |b| |c| | | = = | | |a| |d| | | - - | | | +-------------+ 's' is the scroll wheel, which can roll up or down and be pushed (like any vanilla scroll wheel). 'a' through 'd' are the ordinary mouse buttons. 'u' through 'z' are programmable (using Kensington's magic mouse software for Windows of course). Button -> X Behavior a -> button 1 b -> button 2 c -> button 3 d -> button 3 s up -> button 4 s down -> button 5 s push -> button 3 u thru z -> nothing Obviously I can get things done with the current configuration. I've lived with it for over a year now since I bought the trackball. But I'm curious to whether I can *at least* get 'c' and 'd' differentiated somehow. Or as a bare minimum, get 'c' to behave like button 2 instead of button 3. Ideally I'd like to not only have the four 'a' thru 'd' buttons as well as the scroll wheel, but I'd like to *disable* the push behavior of the scroll wheel (since I push it on accident occasionally), and to get 'u' through 'z' working. I know for certain that the USB HID driver (this is a USB trackball btw) is receiving signals for all the buttons. I just have no clue how to get those signals from the driver up to X, and to get X to generate button press/release events for the added buttons. At one point I got the impression that XFree86 didn't support more than five buttons. Is this true? This would seem to me like an arbitrary limit that we should grow past nowadays... Anyhow, I've fiddled with configuration to no effect. I get the feeling that some driver hacking is involved to get full support for all these buttons... Anyone have any suggestions? 'james -- James A. Crippen <[EMAIL PROTECTED]> ,-./-. Anchorage, Alaska, Lambda Unlimited: Recursion 'R' Us | |/ | USA, 61.20939N, -149.767W Y = \f.(\x.f(xx)) (\x.f(xx)) | |\ | Earth, Sol System, Y(F) = F(Y(F)) \_,-_/ Milky Way. _______________________________________________ Xpert mailing list [EMAIL PROTECTED] http://XFree86.Org/mailman/listinfo/xpert
