SFML community forums

Bindings - other languages => DotNet => Topic started by: zombiekiller222 on October 15, 2011, 09:42:08 am

Title: How do I convert a window.keyboard.key into a char?
Post by: zombiekiller222 on October 15, 2011, 09:42:08 am
Title says all.
Title: How do I convert a window.keyboard.key into a char?
Post by: Laurent on October 15, 2011, 10:39:15 am
You don't need to. The KeyPressed event (and/or IsKeyPressed) are about keys, which cannot be converted to chars directly.

Use the TextEntered event if you want to get characters.