https://bugs.winehq.org/show_bug.cgi?id=48802
--- Comment #4 from Luca Boccassi luca.boccassi@gmail.com --- (In reply to Alistair Leslie-Hughes from comment #1)
https://wiki.winehq.org/FAQ#How_can_I_get_a_debugging_log_.28a.k.a. _terminal_output.29.3F
WINEDEBUG=+dinput,+xinput wine <program>
Done, thank you.