Richard L. Hamilton wrote: >> Thanks both of you for those replies. That would >> explain why my googling turned up no answer to this - >> it isn't possible :-( >> >> It seems after further googling that only KDE has a >> pref to change this, and this is not per-device. I've >> filed an RFE for both Xorg and Gnome. >> > > BTW, thinking about it, an X server that chose to involve itself > in such matters could also slow down the rate by only passing > every Nth button 4 or 5 press/release event pair. So, > slower: pass every Nth pair; normal: 1-to-1; faster, generate extra events.
Right - Xsun took a floating point value for the ratio, and for every event from the wheel, multiplied the reported delta by that value, dropped to the next lowest integer, and sent that many events. The remainder was buffered and added to the value from the next one, so if your ratio was 0.5, and you were scrolling at a speed that the mouse reported 1 "unit" per event, then the first event would send no events to the clients and buffer 0.5, then the next one would send a single event and clear the buffer. -- -Alan Coopersmith- alan.coopersmith at sun.com Sun Microsystems, Inc. - X Window System Engineering