1.0.9 • Published 6 months ago
getmouse v1.0.9
获取window 属标事件 例 :# 当前屏幕 type 类型数字 X座标,Y座标,typeStr 类型字符 const resgiter = require("getmouse"); resgiter("move", function(type, x, y, typeStr){}); resgiter("right up", function(type, x, y, typeStr){}); resgiter("left up", function(type, x, y, typeStr){}); resgiter("left down", function(type, x, y, typeStr){}); resgiter("right down", function(type, x, y, typeStr){});