VINDICTA
Input · Function
Bunni.fun
ChocoSploit
Cryptic
Potassium
Seliware
SirHurt
Solara
Velocity
Volcano
Volt
Wave
Xeno

mouse1release

Dispatches a left mouse button release event.

function mouse1release(): ()

Synopsis

How it works

Sends a left mouse button up event, releasing a previously pressed button:
INPUT input = {};
input.type = INPUT_MOUSE;
input.mi.dwFlags = MOUSEEVENTF_LEFTUP;  // 0x0004
SendInput(1, &input, sizeof(INPUT));
Must be paired with a prior mouse1press() call. Sending an up event without a prior down is harmless but has no visible effect. The OS processes down/up as independent events.

Usage

Release
mouse1release()