kwhat / jnativehook

Global keyboard and mouse listeners for Java.
Other
1.75k stars 347 forks source link

question #472

Closed Skieransa closed 1 month ago

Skieransa commented 1 month ago

is there a way to make it so when using nativemouseinputlistener nativemouseclicked so the click count doesnt get reset after some time

kwhat commented 1 month ago

No. It resets after the double click interval jnativehook.button.multiclick.iterval so that you can detect double / triple clicking. If you want to track the number of clicks, just increment a variable on the listener in your program.

Skieransa commented 1 month ago

No. It resets after the double click interval jnativehook.button.multiclick.iterval so that you can detect double / triple clicking. If you want to track the number of clicks, just increment a variable on the listener in your program.

Okay