Logitech Lua脚本:当鼠标滚轮按下ctrl键时,我该怎么做?

时间:2020-05-06 18:49:57

标签: lua logitech logitech-gaming-software

我想在这里新做;当mousewheelup按下并释放lctrl键,然后睡眠20毫秒。拥有罗技G系列鼠标和海盗船键盘。请帮忙。我尝试过了

function OnEvent(event, arg)
    if (event == "MoveMouseWheel" and arg==1) then
    PressKey("Lctrl")  
    ReleaseKey("Lctrl")
    --PressKey(0x1d)  
    --ReleaseKey(0x1d)
    Sleep( 20 )
    end
end

0 个答案:

没有答案