1
0
forked from Clones/Controlify

steamdeck identification

This commit is contained in:
isXander
2023-02-13 22:13:39 +00:00
parent f1ba413f62
commit 1b5c9daf94
3 changed files with 9 additions and 3 deletions

View File

@ -13,7 +13,8 @@ public enum ControllerType {
UNKNOWN("Unknown Controller", ControllerTheme.XBOX_ONE),
XBOX_ONE("Xbox Controller", ControllerTheme.XBOX_ONE),
XBOX_360("Xbox 360 Controller", ControllerTheme.XBOX_ONE),
DUALSHOCK4("PS4 Controller", ControllerTheme.DUALSHOCK4);
DUALSHOCK4("PS4 Controller", ControllerTheme.DUALSHOCK4),
STEAM_DECK("Steam Deck", ControllerTheme.XBOX_ONE);
private static final Gson GSON = new GsonBuilder().setLenient().create();
private static Map<HIDIdentifier, ControllerType> typeMap = null;