1
General discussions / Event.Key.Code to correct ASCI CODE
« on: April 18, 2008, 04:44:22 pm »
Hi - im having a problem with Event.Key.Code
I need it to return the correct Asci code - and right now (im using the latest version from SVN) - it only return good asci code for chars.
exemple SFML key " . " = 270
ASCII CODE = 46
the problem is i dont see a rule in this codes so i could convert it myself
Can you help me figure out how to convert Event.key.code to correct ASCII ?
Thanks
I need it to return the correct Asci code - and right now (im using the latest version from SVN) - it only return good asci code for chars.
exemple SFML key " . " = 270
ASCII CODE = 46
the problem is i dont see a rule in this codes so i could convert it myself
Can you help me figure out how to convert Event.key.code to correct ASCII ?
Thanks