Is it possible to activate an effect on Mouse Buttom Press/Release??

More
4 months 2 weeks ago - 4 months 2 weeks ago #1 by fumoporro
Hi!! As the tittle says, Im interested in adding DoF only while pressing my right mouse buttom in to STALKER ANOMALY game, the idea is to only have it applied when I use aim down sight on the guns. It is somehow possible?? Thanks in advanceĀ :P

The game also has a "hold" funtion for ADS, so it could work also if i can bind the RMB to the DoF effect not having to use a feature like "On Press/Release", this could be an easier solution but I am unable to bind Mouse Buttoms to an effect as far as i know.
Last edit: 4 months 2 weeks ago by fumoporro.

Please Log in or Create an account to join the conversation.

More
3 months 2 weeks ago - 3 months 2 weeks ago #2 by Daemonjax
The absolute simplest way would be to bind the shader to a hotkey toggle on your keyboard that you don't use, and then write an autohotkey script that virtually presses that toggle key when you press and release the mouse button.

I don't know for sure if reshade can pickup on autohotkey's send, but that would work with reshade, but that's what I'd try.
Last edit: 3 months 2 weeks ago by Daemonjax.

Please Log in or Create an account to join the conversation.