Intercept Mouse Click
问题 I'm currently writing a program that holds down a mouse button when initially clicked, and continues to hold it until the user presses the mouse button for a second time. The program works by detecting input globally using a MouseHookListener and then uses an input simulator to hold down the mouse button that has been pressed. The program is able to hold down the mouse as intended, but there is an issue with the original mouse click that signals the program to simulate the button being held;