Skip to content
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

Getting mouse debug inside eclipse console #238

Open
stccorp opened this issue Sep 2, 2018 · 4 comments · May be fixed by #251
Open

Getting mouse debug inside eclipse console #238

stccorp opened this issue Sep 2, 2018 · 4 comments · May be fixed by #251

Comments

@stccorp
Copy link

stccorp commented Sep 2, 2018

I am trying to test the keyboard handling. Using your demo I get a bunch of mouse movements on the console(Inside Eclipse). But I never told the library to do that. Not sure where to remove that output. I am only implementing NativeKeyListener. i am using JNativeHook v2.1.0

Thank you

Sep 02, 2018 5:34:56 PM org.jnativehook.GlobalScreen$NativeHookThread enable
INFO: process_mouse_moved [459]: Mouse moved to 1568, 526.

Sep 02, 2018 5:34:56 PM org.jnativehook.GlobalScreen$NativeHookThread enable
INFO: hook_get_multi_click_time [208]: GetDoubleClickTime: 500.

Sep 02, 2018 5:34:56 PM org.jnativehook.GlobalScreen$NativeHookThread enable
INFO: process_mouse_moved [459]: Mouse moved to 1567, 527.

Sep 02, 2018 5:34:56 PM org.jnativehook.GlobalScreen$NativeHookThread enable
INFO: process_button_pressed [367]: Button 1 pressed 1 time(s). (1567, 527)

Sep 02, 2018 5:34:56 PM org.jnativehook.GlobalScreen$NativeHookThread enable
INFO: process_button_released [389]: Button 1 released 1 time(s). (1567, 527)

@dimitris23bp
Copy link

No solution yet?

@kwhat
Copy link
Owner

kwhat commented Nov 29, 2018

Please refer to the Logging and Console Output section of the wiki.

@xeruf
Copy link

xeruf commented Jan 8, 2019

The default loglevel should be WARNING, normal users of the library do not want to get spammed to death in the console. Every applications using jnativehook now has this bit of code to disable the logging, this is bonkers. Have you considered slf4j?
Furthermore, the native event logs should not be at INFO but at TRACE level, because they are extremely fine-grained.

@xeruf xeruf linked a pull request Jan 8, 2019 that will close this issue
@kwhat
Copy link
Owner

kwhat commented May 9, 2019

The default log level is set to the Java default log level, which is INFO. We can possibly change the level of these events to trace if that would be helpful.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

4 participants