File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 55
66 <groupId >vavi</groupId >
77 <artifactId >vavi-apps-hub</artifactId >
8- <version >0.0.3 </version >
8+ <version >0.0.4 </version >
99
1010 <properties >
1111 <javapackager .name>Hub</javapackager .name>
176176 <dependency >
177177 <groupId >com.github.umjammer</groupId > <!-- vavi / com.github.umjammer -->
178178 <artifactId >vavi-awt-joystick</artifactId >
179- <version >0.0.10 </version >
179+ <version >0.0.11 </version >
180180 </dependency >
181181
182182 <dependency >
Original file line number Diff line number Diff line change @@ -28,6 +28,7 @@ public class Gamepad implements Plugin {
2828
2929 static {
3030 System .setProperty ("net.java.games.input.InputEvent.fillAll" , "true" );
31+ System .setProperty ("net.java.games.input.ControllerEnvironment.excludes" , "net.java.games.input" );
3132
3233 System .setProperty ("vavi.games.input.listener.period" , "100" );
3334 System .setProperty ("vavi.games.input.listener.warmup" , "500" );
Original file line number Diff line number Diff line change 66
77package vavi .games .input .listener ;
88
9+ import java .util .Objects ;
10+
911import net .java .games .input .Event ;
1012import vavi .games .input .listener .GamepadInputEventListener .AppInfo ;
1113import vavi .games .input .listener .GamepadInputEventListener .Context ;
@@ -34,7 +36,7 @@ public class MuseScoreListener extends GamepadAdapter {
3436
3537 @ Override
3638 public boolean match (AppInfo a ) {
37- return a .id ().equals (bundleId );
39+ return Objects . requireNonNullElse ( a .id (), false ).equals (bundleId );
3840 }
3941
4042 private Context context ;
You can’t perform that action at this time.
0 commit comments