i want listen multiple global events fired @ same time. example leftmousedraggedmask , @ same time keydownmask. first opinion add these & operator.
nsevent.addglobalmonitorforeventsmatchingmask(nseventmask.leftmousedraggedmask & nseventmask.keydownmask, handler: { (event: nsevent!) -> void in ... })
the leftmousedraggedmask worked properly, there no effect both. recognized keydownmask works in localmonitor. (:
okay problem application have assitance device in osx under systemsettings > security > assistence use keydownmask!
Comments
Post a Comment