diff --git a/Assets/Scripts/Domain/CustomInput.cs b/Assets/Scripts/Domain/CustomInput.cs index 2089fc1..8bdf416 100644 --- a/Assets/Scripts/Domain/CustomInput.cs +++ b/Assets/Scripts/Domain/CustomInput.cs @@ -22,6 +22,7 @@ namespace Domain { _readers.Add(new AObertaReader(_history)); _readers.Add(new EObertaReader(_history)); _readers.Add(new OObertaReader(_history)); + _readers.Add(new IDieresiReader(_history)); } public void UpdateInput() { diff --git a/Assets/Scripts/Domain/Input/EObertaReader.cs b/Assets/Scripts/Domain/Input/EObertaReader.cs index 845d6da..ff2d530 100644 --- a/Assets/Scripts/Domain/Input/EObertaReader.cs +++ b/Assets/Scripts/Domain/Input/EObertaReader.cs @@ -3,6 +3,6 @@ using System.Linq; namespace Domain.Input { public class EObertaReader : SequentialInputReader { - public EObertaReader(KeyHistory history) : base(history, new List{ 0xBA, 0x45 }) { } + public EObertaReader(KeyHistory history) : base(history, new List{ 0xBA, 0x45 }, 0x10, false) { } } } \ No newline at end of file diff --git a/Assets/Scripts/Domain/Input/IDieresiReader.cs b/Assets/Scripts/Domain/Input/IDieresiReader.cs new file mode 100644 index 0000000..41817b2 --- /dev/null +++ b/Assets/Scripts/Domain/Input/IDieresiReader.cs @@ -0,0 +1,8 @@ +using System.Collections.Generic; +using System.Linq; + +namespace Domain.Input { + public class IDieresiReader : SequentialInputReader { + public IDieresiReader(KeyHistory history) : base(history, new List{ 0xDE, 0x49 }, 0x10, true) { } + } +} \ No newline at end of file diff --git a/Assets/Scripts/Domain/Input/IDieresiReader.cs.meta b/Assets/Scripts/Domain/Input/IDieresiReader.cs.meta new file mode 100644 index 0000000..b8371ea --- /dev/null +++ b/Assets/Scripts/Domain/Input/IDieresiReader.cs.meta @@ -0,0 +1,3 @@ +fileFormatVersion: 2 +guid: 2a92ca1acc52425f8505b204a7ebc772 +timeCreated: 1713294175 \ No newline at end of file diff --git a/Assets/Scripts/Domain/Input/OObertaReader.cs b/Assets/Scripts/Domain/Input/OObertaReader.cs index 2b5868f..fd8074e 100644 --- a/Assets/Scripts/Domain/Input/OObertaReader.cs +++ b/Assets/Scripts/Domain/Input/OObertaReader.cs @@ -3,6 +3,6 @@ using System.Linq; namespace Domain.Input { public class OObertaReader : SequentialInputReader { - public OObertaReader(KeyHistory history) : base(history, new List{ 0xBA, 0x4F }) { } + public OObertaReader(KeyHistory history) : base(history, new List{ 0xBA, 0x4F }, 0x10, false) { } } } \ No newline at end of file