Welcome,
Guest
. Please
login
or
register
. Did you miss your
activation email?
French forum
Home
Help
Search
Login
Register
SFML community forums
»
Bindings - other languages
»
DotNet
»
How do I convert a window.keyboard.key into a char?
Print
Pages: [
1
]
Author
Topic: How do I convert a window.keyboard.key into a char? (Read 2683 times)
0 Members and 1 Guest are viewing this topic.
zombiekiller222
Guest
How do I convert a window.keyboard.key into a char?
«
on:
October 15, 2011, 09:42:08 am »
Title says all.
Logged
Laurent
Administrator
Hero Member
Posts: 32498
How do I convert a window.keyboard.key into a char?
«
Reply #1 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.
Logged
Laurent Gomila - SFML developer
Print
Pages: [
1
]
SFML community forums
»
Bindings - other languages
»
DotNet
»
How do I convert a window.keyboard.key into a char?