PDA

View Full Version : Hey marcus256



Questions Burner
04-11-2002, 11:29 PM
//Can I detect key press like...

glfwGetKey(';');

//or

glfwGetKey('>');

marcus256
04-14-2002, 09:45 PM
Not at the moment, unfortunately. This is something that needs to be worked on in GLFW. The goal is to recognize "key codes" rather than characters. Yet, characters are used to represent different keys (e.g. 'A'), which makes things a little bit confusing (even for me - to be honest, I didn't think much about it at first when I implemented the key interface).

Questions Burner
04-16-2002, 01:33 AM
Actually, I already knew it but just to verify it. I understand that these keys is quite important because most games use them.
So will you add this feature to GLFW soon?

marcus256
04-16-2002, 02:51 AM
I understand that these keys is quite important because most games use them.
So will you add this feature to GLFW soon?

I know... It will be added. Can not specify a date though http://www.opengl.org/discussion_boards/ubb/wink.gif