소스 검색

Bump jinput version to 2.0.9. (#1454)

This fixes a gamepad bug discussed in https://hub.jmonkeyengine.org/t/linux-gamepad-input-on-jme3-lwjgl-splits-input-between-two-logical-gamepads
Markil3 4 년 전
부모
커밋
245dad0495
1개의 변경된 파일7개의 추가작업 그리고 1개의 파일을 삭제
  1. 7 1
      jme3-lwjgl/build.gradle

+ 7 - 1
jme3-lwjgl/build.gradle

@@ -6,4 +6,10 @@ dependencies {
     compile project(':jme3-core')
     compile project(':jme3-desktop')
     compile 'org.lwjgl.lwjgl:lwjgl:2.9.3'
-}
+    /*
+     * Upgrades the default jinput-2.0.5 to jinput-2.0.9 to fix a bug with gamepads on Linux.
+     * See https://hub.jmonkeyengine.org/t/linux-gamepad-input-on-jme3-lwjgl-splits-input-between-two-logical-gamepads
+     */
+    compile 'net.java.jinput:jinput:2.0.9'
+    compile 'net.java.jinput:jinput:2.0.9:natives-all'
+}