-
Notifications
You must be signed in to change notification settings - Fork 48
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
The raw mode causes my application interface (Swing/JavaFX) to not recieve the events. #17
Comments
Interesting. No idea why this happens yet... According to the Windows documentation raw input should be a plain "listener". Blocking inputs isn't possible. Strange... |
hope you can figure it out. I have no ideia. |
I've been having the same problem with JavaFX text fields, the problem fixes itself once the parameter is changed to 'false', but I hope you can fix the problem! |
If raw input is not required, the it's fine to leave the parameter remain |
Hello kristian! |
I have been using the SYS in combination with LWJGL api (for the rendering part of my application), and have faced the same issue, where the window just froze when trying to collect input with raw mode. Switching from true to false in the constructor for GlobalMouseHook resolved the issue. |
Apparently, it's possible to register hotkey without window resources: https://docs.microsoft.com/en-us/windows/desktop/api/winuser/nf-winuser-registerhotkey The hwnd parameter is optional. Maybe that helps. If you need the window resource for some reason, maybe add a default mode that is not using it, and an extended mode that can be activated by the user but tells him it may not work. |
same problem for me... please fix it ;-; |
I've been having the same problem .... |
Hello @kristian just stumbled across your library and this issue...could it perhaps be related to not calling See the post here where the author states,
|
Good catch @KOConchobhair and would fit the issue quite well. Unfortunately no success on my side... I added it anyways in c946389 / 3.8, as I think it's good to have it in. The issue w/ Java is still not solved though... Shame. |
If I instantiate the GlobalKeyboardHook, with a true parameter, my application stops to recieve the key events. The same with GlobalMouseHook, but for mouse events.
I am writing a Swing application, but I have tested the issue with JavaFX to confirm if it was not a Swing specifc problem.
As example, the below JavaFX application becomes unusable:
The text was updated successfully, but these errors were encountered: