Ryan Sullivan
Ryan Sullivan

Reputation: 487

Java: how to disable mouse and keyboard system wide

Alright, I am not sure if this is even possible with Java specifically, but I am working on a a small program very similar to synergy and I need to be able to completely disable input from the mouse and keyboard on the host computer, but still record the input within the program. I can not think of any clean and robust ways to do this with Java. Is this possible?

Upvotes: 3

Views: 1716

Answers (1)

Emil
Emil

Reputation: 13789

Any way you will have to use JNI for such a purpose.Have a look at this blog ,it will give you some idea.

Upvotes: 1

Related Questions