Skip to content

Commit 9e162b9

Browse files
committed
feat(desktop): Minor fixes
1 parent 9a5c49e commit 9e162b9

File tree

4 files changed

+3
-13
lines changed

4 files changed

+3
-13
lines changed

build.gradle

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,9 +18,9 @@ allprojects {
1818
ext {
1919

2020
appName = 'gdx-controllers'
21-
gdxVersion = '1.9.11'
21+
gdxVersion = '1.13.1'
2222
roboVMVersion = '2.3.19'
23-
jamepadVersion = '2.26.5.0'
23+
lwjgl3Version = '3.4.0-SNAPSHOT'
2424

2525
isReleaseBuild = {
2626
return project.hasProperty("RELEASE")

gdx-controllers-desktop/build.gradle

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ tasks.getByName('processResources') {
4949
dependencies {
5050
api project(":gdx-controllers-core")
5151
implementation "com.badlogicgames.gdx:gdx:$gdxVersion"
52-
implementation "org.lwjgl:lwjgl-sdl:3.4.0-SNAPSHOT"
52+
implementation "org.lwjgl:lwjgl-sdl:$lwjgl3Version"
5353
}
5454

5555
targetCompatibility = 1.8

gdx-controllers-desktop/src/main/java/com/badlogic/gdx/controllers/desktop/Configuration.java

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -19,12 +19,6 @@ public class Configuration {
1919
*/
2020
public boolean useRawInput = false;
2121

22-
/**
23-
* Disable this to skip loading of the native library. Can be useful if an application wants
24-
* to use a loader other than {@link com.badlogic.gdx.utils.SharedLibraryLoader}.
25-
*/
26-
public boolean loadNativeLibrary = true;
27-
2822
/**
2923
* Disable this to return to legacy temporary file loading of database file.
3024
*/

gdx-controllers-desktop/src/main/java/com/badlogic/gdx/controllers/desktop/support/SDLControllerManager.java

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -73,10 +73,6 @@ public SDLControllerManager(Configuration configuration, String mappingsPath) {
7373
this.mappingsPath = mappingsPath;
7474
isInitialized = false;
7575
controllers = new ControllerIndex[configuration.maxNumControllers];
76-
77-
if (configuration.loadNativeLibrary) {
78-
new SharedLibraryLoader().load("jamepad");
79-
}
8076
}
8177

8278
/**

0 commit comments

Comments
 (0)