Skip to content

Commit

Permalink
helios: include jinput libs
Browse files Browse the repository at this point in the history
  • Loading branch information
Federico Berti committed Sep 28, 2021
1 parent fc2c85a commit c6f1046
Show file tree
Hide file tree
Showing 9 changed files with 1 addition and 11 deletions.
10 changes: 0 additions & 10 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,6 @@ dependencies {
//include local jars
compile fileTree(dir: 'lib', include: ['*.jar'])
testCompile fileTree(dir: 'lib', include: ['*.jar'])
testCompile fileTree(dir: 'privateLib', include: ['*.jar'])
}

def getDate() {
Expand Down Expand Up @@ -110,15 +109,6 @@ task copyRes {
from configurations.runtime
into "$buildDir/packageDir/lib"
}
copy {
from("privateLib") {
exclude "misc/**"
exclude "src/**"
exclude "jna*.jar"
exclude "jmx*.jar"
}
into "$buildDir/packageDir/lib"
}
copy {
from ("res")
include "*.properties"
Expand Down
Binary file added lib/jinput-2.0.9-natives-all.jar
Binary file not shown.
Binary file added lib/linux/libjinput-linux.so
Binary file not shown.
Binary file added lib/linux/libjinput-linux64.so
Binary file not shown.
Binary file added lib/osx/libjinput-osx.jnilib
Binary file not shown.
Binary file added lib/windows/jinput-dx8_64.dll
Binary file not shown.
Binary file added lib/windows/jinput-raw_64.dll
Binary file not shown.
Binary file added lib/windows/jinput-wintab.dll
Binary file not shown.
2 changes: 1 addition & 1 deletion src/test/java/omegadrive/input/GamepadTest.java
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ public class GamepadTest {
public static float ON = 1.0f;

public static void main(String[] args) {
String lib = new File(".").getAbsolutePath() + File.separator + "privateLib"
String lib = new File(".").getAbsolutePath() + File.separator + "lib"
+ File.separator + "linux";
System.out.println(lib);
System.setProperty("log4j.configurationFile", "./res/log4j2-info.properties");
Expand Down

0 comments on commit c6f1046

Please sign in to comment.