https://bugs.winehq.org/show_bug.cgi?id=45961
--- Comment #6 from Louis Lenders xerox.xerox2000x@gmail.com --- (In reply to Pop Horea-Vasile from comment #5)
What file has to be modified and how to ?
Difficult answer: apply patch from Staging (link) and compile wine yourself
Easy answer: For now install wine-staging and use that to run Keystate, until the bug is fixed in vanilla-wine