From e70045ef1cc9a9d011b6c2c4ab6508d11399bff7 Mon Sep 17 00:00:00 2001 From: Maschell Date: Sun, 23 Apr 2017 13:39:11 +0200 Subject: [PATCH] Fix for HID-Test. --- src/de/mas/HIDTest/Main.java | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/de/mas/HIDTest/Main.java b/src/de/mas/HIDTest/Main.java index 14f936a..fa67997 100644 --- a/src/de/mas/HIDTest/Main.java +++ b/src/de/mas/HIDTest/Main.java @@ -3,6 +3,8 @@ package de.mas.HIDTest; import net.ash.HIDToVPADNetworkClient.controller.Controller; import net.ash.HIDToVPADNetworkClient.manager.ControllerManager; import net.ash.HIDToVPADNetworkClient.util.Settings; +import net.ash.HIDToVPADNetworkClient.util.Settings.ControllerFiltering; +import net.ash.HIDToVPADNetworkClient.util.Settings.ControllerFiltering.Type; import net.ash.HIDToVPADNetworkClient.util.Utilities; public class Main { @@ -33,6 +35,8 @@ public class Main { Utilities.sleep(1000); Settings.AUTO_ACTIVATE_CONTROLLER = true; + ControllerFiltering.setFilterState(Type.HIDGAMEPAD, true); + ControllerFiltering.setFilterState(Type.XINPUT, true); new Thread(new Runnable() { @Override