diff options
author | endolf <[email protected]> | 2005-08-30 19:37:53 +0000 |
---|---|---|
committer | endolf <[email protected]> | 2005-08-30 19:37:53 +0000 |
commit | 321ce0606e9c9178010fd50a96017ca6437a486c (patch) | |
tree | 202703cf9b800371b14009cba6e775dac623bea4 /plugins/linux/build.xml | |
parent | 47321b68065397cba6e520c139c39af4e8fe8fcc (diff) |
Unless cleanup is called from the same thread as init, the cleanup
doesn't happen properly and events are left of the ff device meaning we
run out of device space. Added a thread that init and cleanup are called
from via methods on the interface.
Then it became apparent that rumble would only work from the same thread
as the others too, so thats added in there.
Nastyness all round.
git-svn-id: file:///home/sven/projects/JOGL/git-svn/svn-server-sync/jinput/trunk@120 e343933a-64c8-49c5-92b1-88f2ce3e89e8
Diffstat (limited to 'plugins/linux/build.xml')
-rw-r--r-- | plugins/linux/build.xml | 10 |
1 files changed, 4 insertions, 6 deletions
diff --git a/plugins/linux/build.xml b/plugins/linux/build.xml index 8db02c0..a120a51 100644 --- a/plugins/linux/build.xml +++ b/plugins/linux/build.xml @@ -59,14 +59,12 @@ </target> <target depends="init,compile" name="createJNIHeaders"> - <javah> + <javah destdir="src/native"> <classpath> - <pathelement path="src/java"/> - <pathelement location="jinput.jar"/> + <pathelement location="../../coreAPI/bin/jinput.jar"/> + <pathelement location="bin/linux.jar"/> </classpath> - <class name="net.java.games.input.LinuxDevice"/> - <class name="net.java.games.input.LinuxEnvironmentPlugin"/> - <class name="net.java.games.input.LinuxKeyboard"/> + <class name="net.java.games.input.JInputLibrary"/> </javah> </target> |