Now we're on the root of the problem. Ghost (OSX) didn't accept rawkeys for the 1-2-...0 keys on a french keyboard. These have apparently different symbols on it. (these silly french! :) This commit intercepts the rawkeys in convertKey() call, and manually makes sure theyre correctly mapped. So: now french (spanish, etc) OSX users can finally use layer hotkeys! And the popup menu shortcuts! :) Tested & verified by Lukep. Merci!