singe/thirdparty/manymouse/contrib/java/ManyMouse.java
2023-10-23 19:38:18 -05:00

22 lines
586 B
Java

/*
* Java bindings to the ManyMouse C code, via JNI.
*
* Please see the file LICENSE.txt in the source's root directory.
*
* This file written by Ryan C. Gordon.
*/
public class ManyMouse
{
// Native method hooks.
public native static synchronized int Init();
public native static synchronized void Quit();
public native static synchronized String DeviceName(int index);
public native static synchronized boolean PollEvent(ManyMouseEvent event);
// JNI link.
static { System.loadLibrary("ManyMouse"); }
} // ManyMouse
// end of ManyMouse.java ...