I'm not happy with the way that Wine interpretes mouse wheel tilts (remaps them to scrolls) I want to change this to keyboard input. I want to do this because I use the wheel tilt to change target in World of Warcraft when I play in Windows, and I want to carry this over to Linux. I'm a bit of a n00b, but does anyone have any idea how I'd go about doing this? I know how to apply patches and compile from source. I've tried using various mouse remapping or stroke gesture tools to do this, including xautomation, easystrokes, imwheel and so on, but none of them work like I want to - if I press two buttons at once it will ignore the reassignment. Would really appreciate it! :) - Kunasha
Kunasha wrote:> I'm not happy with the way that Wine interpretes mouse wheel tilts (remaps them to scrolls) > > I want to change this to keyboard input. I want to do this because I use the wheel tilt to change target in World of Warcraft when I play in Windows, and I want to carry this over to Linux. > > I'm a bit of a n00b, but does anyone have any idea how I'd go about doing this? I know how to apply patches and compile from source. > >Windows does this through a special driver that is installed when running the game and then unloading it when finished. This is not yet possible when using Wine. James McKenzie
I'm not asking that the wheel tilts should be registered in the game, because the game can't register those at all, so that's exactly what I DON'T want. It appears pretty clear to me that Wine handles these presses by remapping them to scrolling, and what I want to do is I want Wine to not remap them to scrolling, but to something else.
I know how to edit source code and how to compile from source. Wine just happens to be a big project, so if I open up the source code it would take an eternity finding out where this piece of code. If you can tell me where it is, I can make the change myself.
Failing to do exactly that is why I'm here. I've tried btnx, imwheel, udev, and easystroke, and all of them come with a common problem: The remaps work flawlessly until I hold down 2 mouse buttons at once. If I am holding down the right button and then tilt the wheel, it will execute the scrolling instead of what I mapped it to. This makes for a huge problem when trying to use it for gaming. So now I asked if it is possible to change the problem at its core.
Kunasha wrote:> I know how to edit source code and how to compile from source. > > Wine just happens to be a big project, so if I open up the source code it would take an eternity finding out where this piece of code. > > If you can tell me where it is, I can make the change myself.http://wiki.winehq.org/SourceTreeStructure