Fix for the Xbox Controller

This commit is contained in:
Maschell 2017-05-20 19:19:19 +02:00
parent da80e946d0
commit 2ae8142f61
1 changed files with 1 additions and 0 deletions

View File

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