refactor: converted keycodes into an enum

This commit is contained in:
Gerard Gascón 2024-04-17 17:21:28 +02:00
parent 2cae1eced7
commit e3f6db7ae5
15 changed files with 58 additions and 19 deletions

View file

@ -3,6 +3,6 @@ using System.Linq;
namespace Domain.Input {
public class IDieresiReader : InputReader {
public IDieresiReader(KeyHistory history) : base(history, new List<int>{ 0xDE, 0x49 }, 0x10, true) { }
public IDieresiReader(KeyHistory history) : base(history, new List<int>{ (int)VKeyCode.AccentClosed, (int)VKeyCode.I }, (int)VKeyCode.Shift, true) { }
}
}