Results 1 to 5 of 5

Thread: wine developer, mouse.c, Empire Earth I, playonlinux

  1. #1

    Default wine developer, mouse.c, Empire Earth I, playonlinux

    Hello all. This a C coding question. So, this could be off topic.

    Empire Earth I has a mouse bug with wine. The effect is this(about for x or y):
    12" mouse movement-> 1/2" on screen

    I'v tried wine v1.3.34, wine v1.3.34_rawinput2, and wine v1.3.35. They both have the same bad mouse behavior.

    http://wiki.winehq.org/Bug6971

    I'v tried wine 1.3.34 and wine 1.3.34_rawinput2. They both have the same bad mouse behavior.


    I'v been doing some reading. Note, wine changes absolute movement to relative. So, I think changing the scaling should be the solution in the "mouse.c" wine source code. I'v done programing, but it will take me some time to figure out how it works. The patch code changes specific things related to ABS vs REL mouse positioning.

    I understand some of the wine mouse code. I need help making sense of it to find the code section i'm looking to change. Can someone help?

    Also, adding a registry entry "mouse sensitivity" to make it flexible for any game. I couldn't find anything in the wine app.

    Thanks.

  2. #2
    Join Date
    Jun 2008
    Location
    Earth - Denmark
    Posts
    10,730

    Default Re: wine developer, mouse.c, Empire Earth I, playonlinux

    On 12/21/2011 11:06 PM, lord valarian wrote:
    > this could be off topic.


    yep.

    this is not an openSUSE problem..

    sounds like a WINE problem (and, they have a forum)..

    but, if you must try to work it here, at least try it in the *games*
    forum. (i guess Empire Earth is some kind of game, huh?)

    --
    DD
    openSUSE®, the "German Engineered Automobiles" of operating systems!

  3. #3

    Default Re: wine developer, mouse.c, Empire Earth I, playonlinux

    Quote Originally Posted by DenverD View Post
    On 12/21/2011 11:06 PM, lord valarian wrote:
    > this could be off topic.


    yep.

    this is not an openSUSE problem..

    sounds like a WINE problem (and, they have a forum)..

    but, if you must try to work it here, at least try it in the *games*
    forum. (i guess Empire Earth is some kind of game, huh?)

    --
    DD
    openSUSE®, the "German Engineered Automobiles" of operating systems!
    Alright then, I'v already posted this on winehq. Admins should move this to games, if needed. If this isn't moved by January, i'll cross post this in games.

  4. #4

    Default Re: wine developer, mouse.c, Empire Earth I, playonlinux

    Hi,

    you will probably have more luck if you post your question here in the development forum.

    HTH

    Lenwolf

  5. #5

    Default Re: wine developer, mouse.c, Empire Earth I, playonlinux

    Ok, I will copy it there. Topic closed.

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •