Is it possible to program logitech mouse with lua script to press 2 keys (J and K) when I press a mouse button?
function OnEvent(event, arg, family)
if event == "MOUSE_BUTTON_PRESSED" and arg == 5 then -- mouse button 5
PressAndReleaseKey("J", "K")
end
end
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.