Does Go provide a way to listen to global keyboard inputs? Essentially, like a keylogger (but that's not my goal), where it captures input if the focus is outside its own context.
Ideally, it would be a cross-platform, but if not for Windows, work would be as well.
My ultimate goal is a tool that is cross-platform, does not require runtime, which allows you to write global keyboard shortcuts to javascript calls applications (mainly control Google Music). This will be done if the Chrome extension connects to the socket.io connection in the Golang application and has the application, then issue the extension commands.
source
share