Commit ea6745e3 authored by Gerard Gascón's avatar Gerard Gascón
Browse files

feat: accent and dieresi characters properly detected

parent 6b289eec
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -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() {
+1 −1
Original line number Diff line number Diff line
@@ -3,6 +3,6 @@ using System.Linq;

namespace Domain.Input {
	public class EObertaReader : SequentialInputReader {
		public EObertaReader(KeyHistory history) : base(history, new List<int>{ 0xBA, 0x45 }) { }
		public EObertaReader(KeyHistory history) : base(history, new List<int>{ 0xBA, 0x45 }, 0x10, false) { }
	}
}
 No newline at end of file
+8 −0
Original line number Diff line number Diff line
using System.Collections.Generic;
using System.Linq;

namespace Domain.Input {
	public class IDieresiReader : SequentialInputReader {
		public IDieresiReader(KeyHistory history) : base(history, new List<int>{ 0xDE, 0x49 }, 0x10, true) { }
	}
}
 No newline at end of file
+3 −0
Original line number Diff line number Diff line
fileFormatVersion: 2
guid: 2a92ca1acc52425f8505b204a7ebc772
timeCreated: 1713294175
 No newline at end of file
+1 −1
Original line number Diff line number Diff line
@@ -3,6 +3,6 @@ using System.Linq;

namespace Domain.Input {
	public class OObertaReader : SequentialInputReader {
		public OObertaReader(KeyHistory history) : base(history, new List<int>{ 0xBA, 0x4F }) { }
		public OObertaReader(KeyHistory history) : base(history, new List<int>{ 0xBA, 0x4F }, 0x10, false) { }
	}
}
 No newline at end of file