There are some libraries that can take native key presses, so having the native key code in the key event will make it easier rather than having a giant switch statement or some other system to map one to the other. Having a sfml -> native convert function would also be a solution.