Global keyboard for Max
Global keyboard means that you can have keyboard input even if your patche/collective/app is in the background.
It's based on the library JnativeHook. YOU NEED to put this library in the right place.
Then put the content of the folder classes in your java classes folder.
It's a first version for a project of a student. Please feel free to improve it.
Successfully tested on windows 8.1 and OSX.8.5
Download this tool
Awesome! It works. But instructions for "The right place" for JnativeHook-x.x.x.jar to be installed can't be found anywhere on either github repo. I discovered that on Mac on Max 7 the right place is in a package in ~/Documents/Max 7/Packages/: I made a package out of the download by simply moving the classes folder to a new folder called "java-classes" and put JnativeHook-x.x.x.jar in "lib" in "java-classes". Then renamed globalKeyboard.maxpat to globalKeyboard.maxhelp and moved it to a new folder called "help".
I suggest you restructure the download into a package like so:
GlobalKeyboard
- help
- - globalKeyboard.maxhelp
- java-classes
- - classes
- - - globalKeyboard.class
- - - globalKeyboard.java
- - lib
- - - JnativeHook-x.x.x.jar
- LICENSE
- README.md
Author
