added function Sdlkeycode.of_string