I’m using GLFW for creating OpenGL context and capturing user’s input and I wanted to capture whole input actions from other thread than OpenGL context was initially created. Am I able to achieve this by using GLFW, SDL or similar library or need I, for example, use different libraray for each task? And if so, which library would you recommend for capturing input? (it need to be cross-platform). Thanks in advance.
I’m using GLFW for creating OpenGL context and capturing user’s input and I wanted
Share
GLFW has good input API and you don’t really need to process input in separate thread. If your framerate is high enough, checking input once per frame should be enough (if your frames are taking seconds to render, that may be not the case).