Jump to content

  • Log In with Google      Sign In   
  • Create Account

We're offering banner ads on our site from just $5!

1. Details HERE. 2. GDNet+ Subscriptions HERE. 3. Ad upload HERE.


GLFW Input documentation clarification


Old topic!
Guest, the last post of this topic is over 60 days old and at this point you may not reply in this topic. If you wish to continue this conversation start a new topic.

  • You cannot reply to this topic
1 reply to this topic

#1 KaiserJohan   Members   -  Reputation: 1232

Like
0Likes
Like

Posted 29 October 2012 - 02:23 PM

Hello,
I have a quick question. I am using GLFW and I am unsure I am reading the documentation correct. (http://www.glfw.org/...eference276.pdf)

I am using setKeyCallback / setMouseButtonCallback / setMousePosCallback. As I understand it, the callbacks are stored internally in GLFW untill glfwPollEvents, glfwWaitEvents or glfwSwapBuffers are called, when which they are all dispatched synchronously to the registered callback handlers? So there is no risk of a sudden keyboard interupt in the middle of the frame and likewise no need for thread synchronization assuming I am doing glfwSwapBuffers at the end of my frame?

Thanks

Edited by KaiserJohan, 29 October 2012 - 02:24 PM.


Sponsor:

#2 Inferiarum   Members   -  Reputation: 733

Like
1Likes
Like

Posted 30 October 2012 - 05:33 AM

Yes




Old topic!
Guest, the last post of this topic is over 60 days old and at this point you may not reply in this topic. If you wish to continue this conversation start a new topic.



PARTNERS