Added keyToSdl2Key function. Closes #270.