Exemple #1
0
        public MainForm()
        {
            InitializeComponent();

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

            cmdListen = new RemoteCommandListener(14598);
        }
Exemple #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);
        }