Welcome, Guest.
Username: Password: Remember me

TOPIC: Mouse 'press' detection

Mouse 'press' detection 5 months 1 week ago #1

In this previous topic I suggested exposing key 'press' detection to ReShade shaders, in addition to the existing toggle mode.

Is it possible to extend this functionality to mouse buttons too?

So rather than this:
uniform bool leftMouseDown< source = "mousebutton"; keycode = 0; toggle = false; >; //Is mouse0 down?

I'd like mouse input uniforms to look like this, similar to how keyboard input now is:
uniform bool leftMouseDown< source = "mousebutton"; keycode = 0; mode = ""; >; //Is mouse0 down?
uniform bool leftMousePress< source = "mousebutton"; keycode = 0; mode = "press"; >; //Was mouse0 pressed this frame?
uniform bool leftMouseToggle< source = "mousebutton"; keycode = 0; mode = "toggle"; >; //Toggles every time mouse0 is pressed
The administrator has disabled public write access.

Mouse 'press' detection 5 months 1 week ago #2

Cheers, crosire =)
The administrator has disabled public write access.
The following user(s) said Thank You: Citizenkane

Mouse 'press' detection 5 months 1 week ago #3

Awesome! I'll try and build it myself manually, and then when the next public release happens I can finally release my responsive UI mask for VtM:B. I've been working on it on-and-off for over 8 months...
The administrator has disabled public write access.