How can I get Dinput information in logs with Wine?

Open forum for end-user questions about Wine. Before asking questions, check out the Wiki as a first step.
Forum Rules
Locked
Matheus
Level 1
Level 1
Posts: 7
Joined: Fri Feb 04, 2022 7:25 pm

How can I get Dinput information in logs with Wine?

Post by Matheus »

I would like to provide more detailed logs for issues such as Bug 53562 and Bug 54067 but I don't know how to make Wine generate logs for Dinput-related stuff. I know I can use WINEDEBUG=+all to generate complete logs, but that creates files that are way too big and cumbersome to analyze. Is there a way for me to get only Dinput log messages?
jkfloris
Level 12
Level 12
Posts: 3141
Joined: Thu Aug 14, 2014 10:10 am

Re: How can I get Dinput information in logs with Wine?

Post by jkfloris »

You can find the WINEDEBUG names in Wine's source code by searching for "WINE_DEFAULT_DEBUG_CHANNEL".
For dinput, this is dinput
You can also look at the Human Input Devices messages (hid)

Code: Select all

WINEDEBUG=+dinput,+hid wine program.exe
Matheus
Level 1
Level 1
Posts: 7
Joined: Fri Feb 04, 2022 7:25 pm

Re: How can I get Dinput information in logs with Wine?

Post by Matheus »

Thank you very much. Should I change the title to mark it as solved?
jkfloris
Level 12
Level 12
Posts: 3141
Joined: Thu Aug 14, 2014 10:10 am

Re: How can I get Dinput information in logs with Wine?

Post by jkfloris »

Should I change the title to mark it as solved?
Unfortunately, the forum does not have such an option.
And changing the subject line does not add much additional value.
Locked