I've just commited changeset 113 which adds the XInputTabletManager
implementation as well as a UNIX build script. There are a number of
problems with it still, but I'm at least seeing tablet info in the
demo applet.
To get the build to work I had to mark XiDevice and XiBus as public --
would somebody mind applying the following patches to the JPen SVN for
me (possibly with a notice similar to the one appearing in the Windows
files?)
Index: src/main/java/jpen/provider/xinput/XiDevice.java
===================================================================
--- src/main/java/jpen/provider/xinput/XiDevice.java (revision 243)
+++ src/main/java/jpen/provider/xinput/XiDevice.java (working copy)
@@ -28,7 +28,7 @@
import jpen.internal.Range;
import jpen.internal.ThreadUtils;
-final class XiDevice{
+public final class XiDevice{
static final Logger L=Logger.getLogger(XiDevice.class.getName());
//static { L.setLevel(Level.ALL); }
@@ -207,4 +207,4 @@
}
private static native int destroy(int cellIndex);
private static native String getError();
-}
\ No newline at end of file
+}
Index: src/main/java/jpen/provider/xinput/XiBus.java
===================================================================
--- src/main/java/jpen/provider/xinput/XiBus.java (revision 243)
+++ src/main/java/jpen/provider/xinput/XiBus.java (working copy)
@@ -23,11 +23,11 @@
import java.util.List;
import jpen.PenManager;
-final class XiBus {
+public final class XiBus {
private final int cellIndex;
private XiDevice xiDevice;
- XiBus() throws Exception {
+ public XiBus() throws Exception {
this.cellIndex=create();
if(cellIndex==-1)
throw new Exception(getError());
--
You received this message because you are subscribed to the Google Groups "jtablet-dev" group.
To post to this group, send email to
jtabl...@googlegroups.com.
To unsubscribe from this group, send email to
jtablet-dev...@googlegroups.com.
For more options, visit this group at
http://groups.google.com/group/jtablet-dev?hl=en.