Direct X Input

Open forum for end-user questions about Wine. Before asking questions, check out the Wiki as a first step.
Forum Rules
Locked
dcbdbis
Level 1
Level 1
Posts: 5
Joined: Thu Aug 21, 2008 12:38 am

Direct X Input

Post by dcbdbis »

Good Evening,

I have an app that is not in the app database entitled RealFLight G4. I have it installed, but ut used the Direct X input method to talk to a hand held joystick like controller in which is embedded security and copy protection.

The application is griping about not being able to find the Interlink Controller. In dmesg it shows up and is usable in other applications, so Linux recognizes it.

I have spent the evening looking for a Direct X Input method and have been able to find only blurbs, yet no "How To's"

Can someone please educate me on Direct X Input and how to turn it on in Wine (if it is possible)?

I appreciate your help.


Dave Babb
vitamin
Moderator
Moderator
Posts: 6605
Joined: Sat Feb 23, 2008 2:29 pm

Re: Direct X Input

Post by vitamin »

dcbdbis wrote:Good Evening,

I have an app that is not in the app database entitled RealFLight G4. I have it installed, but ut used the Direct X input method to talk to a hand held joystick like controller in which is embedded security and copy protection.

The application is griping about not being able to find the Interlink Controller. In dmesg it shows up and is usable in other applications, so Linux recognizes it.
You can check what it's doing by enabling +dinput debug channel. It should be enumerating through all the devices (or at least all joysticks).
Most likely it wants to see a particular device name and vendor. This part will be different on Wine then windows. Wine reports vendor and device name in one string ex : "Logitech Logitech Dual action".
dcbdbis
Level 1
Level 1
Posts: 5
Joined: Thu Aug 21, 2008 12:38 am

Post by dcbdbis »

Thank you for your reply. I am older, and have had some strokes. Would you please tell me how to enable the +dinput channel?

Thank you !


Dave
dcbdbis
Level 1
Level 1
Posts: 5
Joined: Thu Aug 21, 2008 12:38 am

Post by dcbdbis »

Additional info: I tried the command line of: "wine +dinput LauncherG4.exe".

It errors out that it cannot find c:\\windows\\system32\\dinput.exe: module not found

I have also passed the same command line caller with dinput minus the "+".


Dave
User avatar
dimesio
Moderator
Moderator
Posts: 13367
Joined: Tue Mar 25, 2008 10:30 pm

Post by dimesio »

From the directory where the exe is located:

Code: Select all

WINEDEBUG=+dinput wine LauncherG4.exe
For more info on debug channels: http://wiki.winehq.org/DebugChannels
austin987
Wine Developer
Wine Developer
Posts: 2383
Joined: Fri Feb 22, 2008 8:19 pm

Direct X Input

Post by austin987 »

On Thu, Aug 21, 2008 at 9:54 AM, dcbdbis <[email protected]> wrote:
Thank you for your reply. I am older, and have had some strokes. Would you please tell me how to enable the +dinput channel?

Thank you !


Dave





$ WINEDEBUG=+dinput wine LauncherG4.exe
dcbdbis
Level 1
Level 1
Posts: 5
Joined: Thu Aug 21, 2008 12:38 am

WINEDEBUG=+dinput.....

Post by dcbdbis »

Thank you for the assistance.

Now I need to find where wine is storing the debug files. in the terminal, both as su and my normal user I get no debug messages.

Where can I find the logs so I can trck this thing down?

Thank you!


Dave..
vitamin
Moderator
Moderator
Posts: 6605
Joined: Sat Feb 23, 2008 2:29 pm

Re: WINEDEBUG=+dinput.....

Post by vitamin »

dcbdbis wrote:Thank you for the assistance.

Now I need to find where wine is storing the debug files. in the terminal, both as su and my normal user I get no debug messages.
Then your problem has nothing to do with dinput. BTW DO NOT run Wine as root!!!

Next you might want to look at what your program tries to find in registry. I think that would be +reg channel.
dcbdbis
Level 1
Level 1
Posts: 5
Joined: Thu Aug 21, 2008 12:38 am

Winedebug

Post by dcbdbis »

Thank you again for the quick reply.

I think I get it now.

On the Winehq site there is a list of debug channels I can select with winedebug, and thuis track down where the error is really coming from.

Thank you so much for your help. I appreciate it.


Dave
Locked