Fix for the Xbox Controller

This commit is contained in:
Maschell 2017-05-20 19:19:19 +02:00
parent da80e946d0
commit 2ae8142f61

View File

@ -114,6 +114,7 @@ class PureJavaHidDevice implements HidDevice, InputReportListener {
@Override @Override
public String getProductString() { public String getProductString() {
if(myDevice != null || myDeviceInfo.getProductString() == null) return "";
return myDeviceInfo.getProductString().trim(); return myDeviceInfo.getProductString().trim();
} }