refactor: converted vkeycode enum into a class

This commit is contained in:
Gerard Gascón 2024-04-17 18:01:33 +02:00
parent e3f6db7ae5
commit 68d3d8065e
19 changed files with 123 additions and 54 deletions

View file

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