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 TgReader : InputReader {
public TgReader(KeyHistory history) : base(history, new List<int>{ 0x54, 0x47 }) { }
public TgReader(KeyHistory history) : base(history, new List<int>{ (int)VKeyCode.T, (int)VKeyCode.G }) { }
}
}