Ejemplo n.º 1
0
 private KeyboardContorller()
 {
     KeyboardEventLogger = new KeyboardEventLogger();
     InputSource         = new InputSource(KeyboardEventLogger);
     KeyboardEventLogger.KeyboardEvent += KeyboardEventLogger_KeyboardEvent;
     InputSource.Listen();
 }
Ejemplo n.º 2
0
        static void Main(string[] args)
        {
            var test = new Test();

            var input = new InputSource(test, test);

            input.Listen();

            Console.ReadLine();
        }