示例#1
0
        public static void Main(string[] args)
        {
            DeviceListener deviceListener = new DeviceListener();

            deviceListener.StartListen();
            deviceListener.MouseAction    += OnMouseAction;
            deviceListener.KeyboardAction += OnKeyboardAction;

            Console.ReadLine();
            deviceListener.StopListen();
        }