コード例 #1
0
ファイル: MainForm.cs プロジェクト: CryptArc/PSVRFramework
        public MainForm()
        {
            InitializeComponent();

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

            cmdListen = new RemoteCommandListener(14598);
        }
コード例 #2
0
ファイル: MainForm.cs プロジェクト: thomas5lab/PSVRFramework
        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);
        }