From: Peter W. <tj...@ex...> - 2007-03-24 13:59:16
|
On 2007-03-24, Elias Pschernig <el...@us...> wrote: > On Wed, 2007-03-21 at 12:16 +0100, Elias Pschernig wrote: > > I'd like to add support for horizontal mouse wheels to the X11 driver. > > It's very simple to add, like Button4 and Button5 are mapped to change > > mouse_z, Button6 and Button7 act for the horizontal direction. (I > > couldn't find a document stating this, but it works in KDE/Gnome for > > horizontal scrolling in all windows.) > > > > So, the obvious way to add this to the API would be to add a mouse_w > > variable which behaves just like mouse_z. > > > > Add the same time, my new mouse also has a 4th regular button, so I'd > > also make the X11 driver use another bit in mouse_b for this extra > > button.. so "if (mouse_b & 8)" would check for it. > > Patch against 4.2 attached. I also updated exmouse to show the > horizontal wheel position and additional buttons. Looks fine. Peter |