예제 #1
0
        public MainForm()
        {
            InitializeComponent();

            try
            {
                if (CurrentOS.IsWindows)
                {
                    hookedEvents          = Hook.GlobalEvents();
                    hookedEvents.KeyDown += HookedEvents_KeyDown;
                }
            }
            catch { }

            cmdListen = new RemoteCommandListener(14598);
        }
예제 #2
0
        public MainForm()
        {
            InitializeComponent();

            tapper         = new TapDetector(0.07f);
            tapper.Tapped += Tapper_Tapped;

            try
            {
                if (CurrentOS.IsWindows)
                {
                    hookedEvents          = Hook.GlobalEvents();
                    hookedEvents.KeyDown += HookedEvents_KeyDown;
                }
            }
            catch { }

            cmdListen = new RemoteCommandListener(14598);
        }