Java Keyboard and Mouse Hook for Mac :)

Post questions, comments and feedback to our 3Dconnexion Mac Development Team.

Moderator: Moderators

Post Reply
OpenMac
Posts: 2
Joined: Tue Jan 13, 2009 7:27 pm

Java Keyboard and Mouse Hook for Mac :)

Post by OpenMac »

Hi,

I've found many Java/C++ solutions for "MS Windows" Hook's ... but no solution for Apple Mac's to write a Hook C++ function. I found only commercial Libs, but i need source code to modify this code.

I've written a simple print "Hello World" JNI/C++ jnilib file with Eclipse and it's working fine with Java ... but i don't know how to implement Global Keyboard/Mouse "Hook" functions to read and write this Events in C++ for a mac.

I spent 4 day's now to find a solution for my source code.

Is anybody out there he can help me?


greetings
OpenMac
Post Reply