Does anyone know how to simulate one keystroke(s) when mouse button is pressed and different keystroke(s) when mouse button is released?
(I would like to generate {F1} when I press the left mouse button and {LMB}+Q when the mouse button is released)
Different actions on button pressed & release How?
Forum rules
Please read the forum rules before posting for the first time.
The more information you can provide, the quicker and more accurately someone can help.
NOTE: To reduce spam, new users can not post links, files or images until they have at least 4 posts.
Please read the forum rules before posting for the first time.
The more information you can provide, the quicker and more accurately someone can help.
NOTE: To reduce spam, new users can not post links, files or images until they have at least 4 posts.
Re: Different actions on button pressed & release How?
In theory you should be able to do it with method 9, and use the {PRESS} and {RELEASE} tags but actually thats not quite how they were supposed to work. But, in 2.18 Beta (available in the beta thread here on the forums) you can do this with some new prefix tags in simulated keystrokes...
{OD} Only send when the button is pressed
{OU} Only send when the button is released
{OR} Only send when repeating
so something like: {OD}{F1}{OU}{LMB}{OU}s
{OD} Only send when the button is pressed
{OU} Only send when the button is released
{OR} Only send when repeating
so something like: {OD}{F1}{OU}{LMB}{OU}s
--[ Phil ]--
--[ Administrator & XMBC Author ]--
Logitech G9/G604/M720/MX518, Microsoft Intellimouse, Trust 16341 BT Mouse
Windows 10 x64, AMD Ryzen 5900x, MSI x570 Tomahawk, 32GB DDR4,
nVidia RTX 2070s, Evo 970 1Tb NVME, 2x2TB WD Black (RAID1)
--[ Administrator & XMBC Author ]--
Logitech G9/G604/M720/MX518, Microsoft Intellimouse, Trust 16341 BT Mouse
Windows 10 x64, AMD Ryzen 5900x, MSI x570 Tomahawk, 32GB DDR4,
nVidia RTX 2070s, Evo 970 1Tb NVME, 2x2TB WD Black (RAID1)