-
Notifications
You must be signed in to change notification settings - Fork 103
is this working with glfw (opengl) window? #43
Comments
I think you have to get the native window handle with glfwGetWin32Window. You must include glfw3native.h |
yeah thanks it worked! |
you are welcome. you can close this ticket i guess. |
I'm using GLFW to create a window and want to use gainput for keyboard and joystick events (on multiple platforms). It seems like GLFW is consuming the events and does not propagate them to gainput. Do I need to forward the events somhow. |
That is what I do
s_handle.p_inputManager is the gainput input manager |
where does s_handle.display and s_handle.native come from? |
|
I use the following approach:
But now my program is hanging and "Not responding". I think HandleEvent is consuming my Events. I tried also to filter the events but thats not enough. Maybe some advise from the creator himself? |
i tried getting it to work, but the function "PeekMessage" is getting HWnd which is not GLFW window
is it possible combine two libraries together?
The text was updated successfully, but these errors were encountered: