code from this video
https://youtu.be/B-iFRVcQhTI
SFML 3, move object with analog stick and 4 keys on keyboard (diagonal speed fix)