WineHQ
Wine Forums

Board index » WineHQ » Wine Help




 Page 1 of 1 [ 8 posts ] 



 
Author Message
 Post Posted: Sun Jun 27, 2010 7:33 am 
Offline
Newbie
Newbie

Joined: Sun Jun 27, 2010 7:28 am
Posts: 4
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


Top 
 Post Posted: Sun Jun 27, 2010 11:20 am 
 
Kunasha wrote:
Quote:
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


Top 
 Post Posted: Sun Jun 27, 2010 11:34 am 
Offline
Newbie
Newbie

Joined: Sun Jun 27, 2010 7:28 am
Posts: 4
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.


Top 
 Post Posted: Sun Jun 27, 2010 2:57 pm 
 
Kunasha wrote:
Quote:
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.

This will require special code which the developers have opted not to
do. Either you will have to find someone else to write this code or use
Windows. Wish I had a better answer, but there are a limited number of
volunteer developers on this FOSS project.

James Mckenzie


Top 
 Post subject:
 Post Posted: Sun Jun 27, 2010 5:48 pm 
Offline
Newbie
Newbie

Joined: Sun Jun 27, 2010 7:28 am
Posts: 4
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.


Top 
 Post Posted: Sun Jun 27, 2010 10:49 pm 
 
James McKenzie <jjmckenzie51@earthlink.net> wrote:
Quote:
Kunasha wrote:
Quote:
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.

This will require special code which the developers have opted not
to do. Either you will have to find someone else to write this
code or use Windows. Wish I had a better answer, but there are
a limited number of volunteer developers on this FOSS project.

Perhaps the wheel tilts could be remapped to something else in
Linux or X, before Wine even sees them. That would be something
to ask about on the distro forum (or maybe the window manager's
forum, if it's desired to remap them only when the mouse is in a
Wine window).


Top 
 Post subject:
 Post Posted: Mon Jun 28, 2010 4:37 am 
Offline
Newbie
Newbie

Joined: Sun Jun 27, 2010 7:28 am
Posts: 4
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.


Top 
 Post subject:
 Post Posted: Mon Jun 28, 2010 7:45 am 
Offline
Moderator
Moderator
User avatar

Joined: Tue Mar 25, 2008 10:30 pm
Posts: 6341
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


Top 
Display posts from previous:  Sort by  
 
 Page 1 of 1 [ 8 posts ] 




Board index » WineHQ » Wine Help


Who is online

Users browsing this forum: Bing [Bot] and 1 guest

 
 

 
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to: