1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17
function OnEvent(event, arg) if arg == 10 then print "Pressing M" PressKey(42, "M") end if arg == 11 then print "press and release" PressAndReleaseKey(42, "M") end if arg == 12 then print "Releasing M" ReleaseKey("M") end -- print(abc()) -- SetBacklightColor(0, 0, 255, "lhc") end