-
Notifications
You must be signed in to change notification settings - Fork 5k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Ability to work with Wacom tablet. #998
Comments
Issue #403 is related. It's an enhancement to GLFW, and that issue is currently open. |
@openGLnoob You can use a local window hook to get that if that's the only thing you need. |
@elmindreda Thanks for tip. But I decided going another way. I try to edit GLFW lib for integration with Wintab into. With initialise Wintab no problem, but I can't come in into WT_PACKET. Moreover I noticed in message loop I never to come in into WM_CREATE. It's so strange because it's pretty important step in initializing window, don't it? With other cases seems no problem. |
@openGLnoob |
Ok, how can I activate WM_CREATE in message loop? In older versions of GLFW is used:
Is that a right way? Or needs something else? I tried it but something wrong.(( |
@openGLnoob I'm not sure what you are asking. If you want to handle |
If I just add WM_CREATE in windowProc it was ignoring in message loop. It was my reason asking you - how to force GLFW work with WM_CREATE? |
@openGLnoob Sorry, I don't understand the question. |
Sorry if I can't explain enough what I want. In win32_window.c in the root of GLFW we can find message procedure windowProc(), right? But we can't find WM_CREATE in this message procedure and a adding WM_CREATE into this procedure don't resolve this problem - after a compilation of GLFW and a start program a window is created, but WM_CREATE case just ignore. How can I handle to creating window in a message loop in GLFW? I need WM_CREATE for initialization Wintab. If you know where I can initialize it in the moment of a creating window let me know. |
@openGLnoob I see, thanks! What version of GLFW are you modifying? |
3.2.1 ! |
@openGLnoob You need to catch |
@elmindreda Thank you! That works! |
Ok. Done! The solution looks ugly, but works as expected. Use it. |
I try for few days to work with GLFW and Wacom and try to make they friendly. Unfortunately unsuccessfully. When I use Winapi I cant to get proper values for window handling such us LPARAM, WPARAM for calling WndProc function without creating second window (not a good solution). Working with tab libraryes as Easytab is also involves the use Winapi. Has anyone success towork with Wintab and GLFW? Maybe there is some tricks for that? Thanks.
The text was updated successfully, but these errors were encountered: