Page 1 of 1

Forward movement in middle mouse button

Posted: Thu Dec 05, 2024 6:49 pm
by pkichler
Hello, I normally play games with the middle button press associated to forward movement. I have a game (InfinityNikki) that associate the forward movement to the keyboard W only, and don't allow movement in any mouse press. The middle mouse press is associated to restore look forward. In trying to associate midlle mouse to forward movement I do the following:
-In the middle mouse button section in X-mouse, I type "W" in the custom key
-in the How to send I choose 3 "During(press on down, release on up) option
-and select "Block original mouse input"
But at no avail. What I am doing wrong?

XMBC Version 2.20.05
Windows 11 version 24H2 x64
Mouse Logitech M90
Drive: generic HID device
Any other mouse configuration software: No
Number of mouse bottons: 3
Intel(R) Core(TM) i7-10870H CPU @ 2.20GHz 2.21 GHz and 32Gb Ram
Did the problem occur after an upgrade of XMBC? No
Did the problem occur after a Windows update/upgrade? No
How long have you used XMBC? 3 years
What language and keyboard layout do you use in Windows? Portuguese ABNT2

Re: Forward movement in middle mouse button

Posted: Thu Dec 05, 2024 8:07 pm
by phil
pkichler wrote: Thu Dec 05, 2024 6:49 pm But at no avail. What I am doing wrong?
Im afraid to say, probably nothing. I suspect the game uses RAW/DIRECT Input, which operates below the level XMBC operates, and thus simply can not be manipulated by XMBC.

Many games work this way - and therefore XMBC is pretty useless in those games, but it is impossible to change (at the user level that XMBC runs at). The only way to change it would be at the mouse driver level, but only the device manufactures can do that (or people with lots of resources and money and registed companies, not something a hobby project like XMBC can possible extend to!)

Also many games block simulated keystrokes (MS's SendInput API) as anti-cheat. Again nothing XMBC or any software (like Autohotkey) can do about that :(

Re: Forward movement in middle mouse button

Posted: Fri Dec 06, 2024 8:57 am
by pkichler
Thanks for the reply.
Well, learning the WASD way. For a sixty years old...
Best regards