Is it possible to detect a key-press even if my node application is not in focus?
Back in the days there was this tool for warcraft which would quickly move your mouse to a certain position and trigger a click when a keyboard button was pressed. That tool might still work on windows, but I was plaing to build something similar for Mac (or with node.js even system wide) and not warcraft specific.
I googled a lot and found several tools to move the mouse and send keys as nodemacmouse or robojs, but I could not find anything to detect system wide keyboard input (which is crucial since the movements should only happen on key-press). This seems to be do-able in cocoa but a node solution would be flawless. Is it possible? How? Thanks.
