diff --git a/Assets/Scripts/Domain/CustomInput.cs b/Assets/Scripts/Domain/CustomInput.cs index c4f49b0..2089fc1 100644 --- a/Assets/Scripts/Domain/CustomInput.cs +++ b/Assets/Scripts/Domain/CustomInput.cs @@ -1,5 +1,4 @@ -using System; -using System.Collections.Generic; +using System.Collections.Generic; using System.Linq; using Domain.Input; @@ -21,6 +20,8 @@ namespace Domain { _readers.Add(new LlReader(_history)); _readers.Add(new SsReader(_history)); _readers.Add(new AObertaReader(_history)); + _readers.Add(new EObertaReader(_history)); + _readers.Add(new OObertaReader(_history)); } public void UpdateInput() { diff --git a/Assets/Scripts/Domain/Input/EObertaReader.cs b/Assets/Scripts/Domain/Input/EObertaReader.cs new file mode 100644 index 0000000..845d6da --- /dev/null +++ b/Assets/Scripts/Domain/Input/EObertaReader.cs @@ -0,0 +1,8 @@ +using System.Collections.Generic; +using System.Linq; + +namespace Domain.Input { + public class EObertaReader : SequentialInputReader { + public EObertaReader(KeyHistory history) : base(history, new List{ 0xBA, 0x45 }) { } + } +} \ No newline at end of file diff --git a/Assets/Scripts/Domain/Input/EObertaReader.cs.meta b/Assets/Scripts/Domain/Input/EObertaReader.cs.meta new file mode 100644 index 0000000..1a18398 --- /dev/null +++ b/Assets/Scripts/Domain/Input/EObertaReader.cs.meta @@ -0,0 +1,3 @@ +fileFormatVersion: 2 +guid: a3bca68b3d5a469e8c330a55588b872b +timeCreated: 1713278867 \ No newline at end of file diff --git a/Assets/Scripts/Domain/Input/OObertaReader.cs b/Assets/Scripts/Domain/Input/OObertaReader.cs new file mode 100644 index 0000000..2b5868f --- /dev/null +++ b/Assets/Scripts/Domain/Input/OObertaReader.cs @@ -0,0 +1,8 @@ +using System.Collections.Generic; +using System.Linq; + +namespace Domain.Input { + public class OObertaReader : SequentialInputReader { + public OObertaReader(KeyHistory history) : base(history, new List{ 0xBA, 0x4F }) { } + } +} \ No newline at end of file diff --git a/Assets/Scripts/Domain/Input/OObertaReader.cs.meta b/Assets/Scripts/Domain/Input/OObertaReader.cs.meta new file mode 100644 index 0000000..a700162 --- /dev/null +++ b/Assets/Scripts/Domain/Input/OObertaReader.cs.meta @@ -0,0 +1,3 @@ +fileFormatVersion: 2 +guid: 6c48f7b4484443ff85a813b1e5b6e11b +timeCreated: 1713278895 \ No newline at end of file