function OnEvent(event, arg)

--OutputLogMessage("event = %s, arg = %s\n", event, arg);

 

startped = startped or false

 

if (event == "MOUSE_BUTTON_PRESSED" and arg == 5) then

startped = true

 

end

if (event == "MOUSE_BUTTON_RELEASED" and arg == 5) then

startped = false

 

end

while (startped)

do

PressMouseButton(1)

Sleep(3)

MoveMouseRelative( 0, 1)

if not IsMouseButtonPressed(5) then

startped = false

ReleaseMouseButton(1)

end

 

end

end

将上面代码复制进罗技脚本页即可,随便写的,有点抖,大家见谅。按下G5触发

技术
今日推荐
下载桌面版
GitHub
百度网盘(提取码:draw)
Gitee
云服务器优惠
阿里云优惠券
腾讯云优惠券
华为云优惠券
站点信息
问题反馈
邮箱:[email protected]
QQ群:766591547
关注微信