steamdeck identification

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

No files matched your search

@@ -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;