Page 2 of 2 FirstFirst 12
Results 11 to 17 of 17

Thread: mouse coding in suse linux info

  1. #11
    Join Date
    Mar 2009
    Location
    London
    Posts
    426

    Default Re: mouse coding in suse linux info


    On Sun, 22 Jan 2012, lord valarian wrote:

    > I meant to I need KDE mouse codeing, but the gnome will be good.


    If you want to learn Qt (which is what KDE uses) there are plenty of similar online tutorials for that, but you can write programs written using GTK (which you specifically asked about) can run in KDE.

    > I'v set winecfg to use dinput(dll). I'm sure now "empire earth I"
    > doesn't use dinput in wine. So, it been suggested that the x11 code is
    > where I can fix the mouse code. So, can you find some examples of x11
    > coding?


    Are you just trying to get a specific game to run in wine? If so, maybe you'd get more useful help on another forum, maybe the games forum.

    Kind regards,
    Barry D. Nichols

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

    Default Re: mouse coding in suse linux info

    On 01/22/2012 06:15 PM, Barry_Nichols@no-mx.forums.opensuse.org wrote:
    > Are you just trying to get a specific game to run in wine? If so, maybe
    > you'd get more useful help on another forum, maybe the games forum.


    or a forum at Wine HQ..

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

  3. #13

    Default Re: mouse coding in suse linux info

    winehq won't help for some reason.

    Examples of x11 code using the mouse. Not asking about wine, just where to find sample code reading the mouse.

  4. #14

    Default Re: mouse coding in suse linux info

    lord valarian wrote:
    > winehq won't help for some reason.
    >
    > Examples of x11 code using the mouse. Not asking about wine, just where
    > to find sample code reading the mouse.


    The answer to that question is any book about X windows programming.

    If you ask more specific questions you're liable to get better answers.

    What was the 'some reason' that winehq won't help?

  5. #15

    Default Re: mouse coding in suse linux info

    Quote Originally Posted by djh-novell View Post
    The answer to that question is any book about X windows programming.
    I just bought a a new video card. So, that would be in 6 months to year from before I can afford anything more. So, some free x11 tutorial.

    If you ask more specific questions you're liable to get better answers.
    Here are the facts leading to my question:

    "Empire Earth I" now installs without crashing thanks to a script in POL. POL launches it with "plain wine"(1.3.36, 1.3.37 crashes). The mouse will only move if you move it fast and a large distance. So, wine mouse emulation is failing. "dinput.dll" is used to translate linux mouse to window mouse, absolute mouse positioning to relative mouse positioning. I have it setup to compile to the right place. Wine Config is setup correctly. However, any changes to "dinput.dll" are having no effect. Which leads me to conclusion that EE's mouse data is coming from somewhere else. The X11drv code is next area to change. If you see a flaw in my logic above, say s0.

    As you can see, this is mind-bendingly complex. I'm learning mouse code slowly as I read code. Learning mouse coding across two OS's. Basicly I need to know what this, that, and the other do. It's a long list for the development forum. If it's allowed I'll post it here. Sections of X11drv, what they do? In general. Not enough comments in the code for me to make sense of it. Else, I'll continue this on development forum.

    What was the 'some reason' that winehq won't help?
    'some reason' implies logic. I see none. I can't explain it, because there is no logic there. The POL admins tried to explain it to me, but I still don't get it. I'm not posting on there again.

  6. #16

    Default Re: mouse coding in suse linux info

    Quote Originally Posted by lord_valarian View Post
    'some reason' implies logic. I see none. I can't explain it, because there is no logic there. The POL admins tried to explain it to me, but I still don't get it. I'm not posting on there again.
    The Wine developers are interested in proper fixes that can be incorporated into Wine. POL incorporates dirty hacks that can make one app work, but which can break many others. They have a history of installing said hacks without informing the user, and POL users wasting Wine developers' time by filing invalid bugs for problems caused by those hacks. You are not going to get any help from WineHQ to create a hack for POL.

  7. #17

    Default Re: mouse coding in suse linux info

    Read the post on POL and comment there. The admins are the experts, not me.

    I'll take this to development forum. Since this is a development matter.

Page 2 of 2 FirstFirst 12

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
  •