To make virtual keyboards, when you click the key, it sends a real key message, so it can be used on input fields.
I've not tested it personally on a mac, and the provided package was not modified also by myself, I only made the component. There was another people testing it on a mac, and giving me hints on how to make it really cross platform.