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 OObertaReader : InputReader {
public OObertaReader(KeyHistory history) : base(history, new List<int>{ (int)VKeyCode.AccentOpen, (int)VKeyCode.O }, (int)VKeyCode.Shift, false) { }
public OObertaReader(KeyHistory history) : base(history, new List<int> { VKeyCode.AccentOpen, VKeyCode.O },
VKeyCode.Shift, false) { }
}
}