From 806830c3149937ba97df213958880d8d712657d5 Mon Sep 17 00:00:00 2001 From: feos Date: Sun, 3 Jul 2022 13:11:11 +0300 Subject: [PATCH] nymashock: resolve !s and hide some columns in tastudio --- src/BizHawk.Client.Common/movie/bk2/Bk2MnemonicLookup.cs | 5 ++++- src/BizHawk.Client.EmuHawk/tools/TAStudio/TAStudio.cs | 5 +++-- 2 files changed, 7 insertions(+), 3 deletions(-) diff --git a/src/BizHawk.Client.Common/movie/bk2/Bk2MnemonicLookup.cs b/src/BizHawk.Client.Common/movie/bk2/Bk2MnemonicLookup.cs index 61a4921aa0..7f391f6298 100644 --- a/src/BizHawk.Client.Common/movie/bk2/Bk2MnemonicLookup.cs +++ b/src/BizHawk.Client.Common/movie/bk2/Bk2MnemonicLookup.cs @@ -624,6 +624,8 @@ namespace BizHawk.Client.Common ["Right Stick, Pinky"] = 'p', ["Analog"] = 'M', ["Offscreen Shot"] = 'o', + ["Open Tray"] = 'o', + ["Close Tray"] = 'c', }, }; @@ -643,7 +645,8 @@ namespace BizHawk.Client.Common ["LStick Y"] = "lsY", ["RStick X"] = "rsX", ["RStick Y"] = "rsY", - ["Disc Select"] = "Disc" + ["Disc Select"] = "Disc", + ["Disk Index"] = "Disk", }; private static readonly Dictionary> AxisSystemOverrides = new Dictionary> diff --git a/src/BizHawk.Client.EmuHawk/tools/TAStudio/TAStudio.cs b/src/BizHawk.Client.EmuHawk/tools/TAStudio/TAStudio.cs index a4fa5fb03c..6d964fe4f1 100644 --- a/src/BizHawk.Client.EmuHawk/tools/TAStudio/TAStudio.cs +++ b/src/BizHawk.Client.EmuHawk/tools/TAStudio/TAStudio.cs @@ -377,11 +377,12 @@ namespace BizHawk.Client.EmuHawk c.Name == "Power" || c.Name == "Reset" || c.Name == "Light Sensor" - || c.Name == "Open" - || c.Name == "Close" || c.Name == "Disc Select" + || c.Name == "Disk Index" || c.Name.StartsWith("Tilt") || c.Name.StartsWith("Key ") + || c.Name.StartsWith("Open") + || c.Name.StartsWith("Close") || c.Name.EndsWith("Tape") || c.Name.EndsWith("Disk") || c.Name.EndsWith("Block")