How to stop game from detecting input button

Ask gaming related questions
Nescio
Posts: 3
Joined: 10 Jun 2019, 14:21

How to stop game from detecting input button

10 Jun 2019, 14:29

Hi,

I'm using this code to remap the left mouse button to left control, but unfortunately the game still detects the mouse button.

Code: Select all

LButton::LCtrl
MButton::O
XButton2::P
So if I press the left mouse button, the game detects left mouse button and left control to be pressed. I want only left control to be detected. I can't change the keybindings ingame to not use the mouse button, so I hope that autohotkey can somehow "catch" the mouse button press and not send it to the game. Is that possible?
User avatar
YoucefHam
Posts: 344
Joined: 24 Aug 2015, 12:56
Facebook: https://fb.me/YoucefHamDz
Google: [email protected]
GitHub: YoucefHam
Location: Algeria
Contact:

Re: How to stop game from detecting input button

10 Jun 2019, 15:04

try

Code: Select all

*$LButton::LCtrl
*$MButton::O
*$XButton2::P
:wave: There is always more than one way to solve a problem. ;)
Nescio
Posts: 3
Joined: 10 Jun 2019, 14:21

Re: How to stop game from detecting input button

10 Jun 2019, 15:24

Unfortunately, that did not work.
User avatar
YoucefHam
Posts: 344
Joined: 24 Aug 2015, 12:56
Facebook: https://fb.me/YoucefHamDz
Google: [email protected]
GitHub: YoucefHam
Location: Algeria
Contact:

Re: How to stop game from detecting input button

10 Jun 2019, 15:31

try

Code: Select all

*$LButton::LCtrl
*$MButton::O
*$XButton2::P

LButton up::
SendInput, {LCtrl Up}
return
:wave: There is always more than one way to solve a problem. ;)
Nescio
Posts: 3
Joined: 10 Jun 2019, 14:21

Re: How to stop game from detecting input button

10 Jun 2019, 15:36

Still nothing.

Return to “Gaming”

Who is online

Users browsing this forum: No registered users and 14 guests