Update steamdeck controller layout (#236)

This commit is contained in:
AAGaming 2023-11-11 20:28:57 -05:00 committed by GitHub
parent a232af06ed
commit 94819e6f16
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -15,9 +15,9 @@ import { Settings } from "../settings";
const exec = promisify(callbackExec); const exec = promisify(callbackExec);
// Bump this to re-show the prompt // Bump this to re-show the prompt
const layoutVersion = 1; const layoutVersion = 2;
// Get this from "show details" on the profile after exporting as a shared personal layout or using share with community // Get this from "show details" on the profile after exporting as a shared personal layout or using share with community
const layoutId = "3063409873"; // Vesktop Layout v1 const layoutId = "3080264545"; // Vesktop Layout v2
const numberRegex = /^[0-9]*$/; const numberRegex = /^[0-9]*$/;
export const isDeckGameMode = process.env.SteamOS === "1" && process.env.SteamGamepadUI === "1"; export const isDeckGameMode = process.env.SteamOS === "1" && process.env.SteamGamepadUI === "1";