1
0
forked from Clones/Controlify

Configurable mixed input mode

This commit is contained in:
isXander
2023-07-10 16:55:42 +01:00
parent 1b447b5d74
commit 8a3436d1c1
5 changed files with 18 additions and 8 deletions

View File

@ -44,6 +44,10 @@ public class GamepadController extends AbstractController<GamepadState, GamepadC
this.defaultConfig = new GamepadConfig();
this.config = new GamepadConfig();
if (hidInfo.hidDevice().map(hid -> SteamDeckDriver.isSteamDeck(hid.getVendorId(), hid.getProductId())).orElse(false)) {
this.defaultConfig.mixedInput = true;
this.config.mixedInput = true;
}
this.bindings = new ControllerBindings<>(this);
}