It should work on Windows, Linux and Mac OS. I've only tested it on Windows.
Make sure to read through that whole thread for details, caveats and cautions. Keylogging and native hooking isn't the abstract idealized world of Java/B4J. You're dealing directly with hardware and operating system events. It can be tricky.
Feel free to report on your successes and failures getting that library to work on any operating system in that thread.