mirror of
https://github.com/shadowfacts/jinput-arm64.git
synced 2026-04-07 15:35:10 +00:00
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.
This commit is contained in:
parent
ab247c91ad
commit
daba6d24cc
12 changed files with 102 additions and 492 deletions
|
|
@ -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>
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue