Closed Laulajatar closed 2 years ago
I found that the game has a parameter for detecting if the buttons are swapped. Implementing it's handling. The only place where I see this used in the game is inside the QueryMouseKeyState function. The internal structure (and from what I understood the underlying DInput structures) use the non-inverted buttons ordering (pysical Left button is still 0 or 256)
A user of my mod here reported that xOBSE functions (in my case IsKeyPressed3, but it's reasonable to assume that it affects most) ignore the Windows option of switching left/right mouse key - while the game handles it correctly.
This seems to be an older problem predating xOBSE, as they say they've been dealing with it for years.
Currently lacking the Windows install to test it myself. Tried it with my install, and it works as expected (XFCE/Manjaro/some older tkg wine).