of course that only checks if it is currently pressed at the time you check, so you probably need it in a timer or use a hotkey that does the checking for you and then runs your code eg.
Code:
local hk = createHotkey(function(hk) print("1") end, VK_RBUTTON)
of course that only checks if it is currently pressed at the time you check, so you probably need it in a timer or use a hotkey that does the checking for you and then runs your code eg.
Code:
local hk = createHotkey(function(hk) print("1") end, VK_LBUTTON)
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum You cannot attach files in this forum You can download files in this forum