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
Gitee
SourceForge
百度网盘(提取码:draw)
云服务器优惠
华为云优惠券
腾讯云优惠券
阿里云优惠券
Vultr优惠券
站点信息
问题反馈
邮箱:[email protected]
吐槽一下
QQ群:766591547
关注微信