From 2a82f7273ac52eeda49400b5128c29ebcd26d8ef Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Gerard=20Gasc=C3=B3n?= <52170489+GerardGascon@users.noreply.github.com> Date: Thu, 18 Apr 2024 17:02:24 +0200 Subject: [PATCH] feat: u dieresi --- Assets/Scripts/Domain/CustomInput.cs | 2 +- Assets/Scripts/Domain/Input/LlReader.cs | 8 -------- Assets/Scripts/Domain/Input/UDieresiReader.cs | 9 +++++++++ .../Input/{LlReader.cs.meta => UDieresiReader.cs.meta} | 0 4 files changed, 10 insertions(+), 9 deletions(-) delete mode 100644 Assets/Scripts/Domain/Input/LlReader.cs create mode 100644 Assets/Scripts/Domain/Input/UDieresiReader.cs rename Assets/Scripts/Domain/Input/{LlReader.cs.meta => UDieresiReader.cs.meta} (100%) diff --git a/Assets/Scripts/Domain/CustomInput.cs b/Assets/Scripts/Domain/CustomInput.cs index 3e57876..dae2a5e 100644 --- a/Assets/Scripts/Domain/CustomInput.cs +++ b/Assets/Scripts/Domain/CustomInput.cs @@ -17,7 +17,7 @@ namespace Domain { _readers.Add(new NyReader(_history)); _readers.Add(new TgReader(_history)); _readers.Add(new TjReader(_history)); - _readers.Add(new LlReader(_history)); + _readers.Add(new UDieresiReader(_history)); _readers.Add(new SsReader(_history)); _readers.Add(new AObertaReader(_history)); _readers.Add(new EObertaReader(_history)); diff --git a/Assets/Scripts/Domain/Input/LlReader.cs b/Assets/Scripts/Domain/Input/LlReader.cs deleted file mode 100644 index aa00f53..0000000 --- a/Assets/Scripts/Domain/Input/LlReader.cs +++ /dev/null @@ -1,8 +0,0 @@ -using System.Collections.Generic; -using System.Linq; - -namespace Domain.Input { - public class LlReader : InputReader { - public LlReader(KeyHistory history) : base(history, new List { VKeyCode.L, VKeyCode.L }) { } - } -} \ No newline at end of file diff --git a/Assets/Scripts/Domain/Input/UDieresiReader.cs b/Assets/Scripts/Domain/Input/UDieresiReader.cs new file mode 100644 index 0000000..5a91fe2 --- /dev/null +++ b/Assets/Scripts/Domain/Input/UDieresiReader.cs @@ -0,0 +1,9 @@ +using System.Collections.Generic; +using System.Linq; + +namespace Domain.Input { + public class UDieresiReader : InputReader { + public UDieresiReader(KeyHistory history) : base(history, new List { VKeyCode.AccentClosed, VKeyCode.U }, + VKeyCode.Shift, true) { } + } +} \ No newline at end of file diff --git a/Assets/Scripts/Domain/Input/LlReader.cs.meta b/Assets/Scripts/Domain/Input/UDieresiReader.cs.meta similarity index 100% rename from Assets/Scripts/Domain/Input/LlReader.cs.meta rename to Assets/Scripts/Domain/Input/UDieresiReader.cs.meta