Welcome,
Guest
. Please
login
or
register
. Did you miss your
activation email?
French forum
Home
Help
Search
Login
Register
SFML community forums
»
Help
»
General
»
How to convert a key press to a string?
Print
Pages: [
1
]
Author
Topic: How to convert a key press to a string? (Read 1561 times)
0 Members and 1 Guest are viewing this topic.
Leodido
Newbie
Posts: 10
How to convert a key press to a string?
«
on:
March 19, 2010, 02:04:13 pm »
I'd like to be able to type text in my programm, but I don't know how to convert Event.Key.Code key to a string?
Is there any easy way to do that?
Logged
Laurent
Administrator
Hero Member
Posts: 32498
How to convert a key press to a string?
«
Reply #1 on:
March 19, 2010, 02:14:48 pm »
Use Event::TextEntered for text input.
Logged
Laurent Gomila - SFML developer
Print
Pages: [
1
]
SFML community forums
»
Help
»
General
»
How to convert a key press to a string?
anything