コード例 #1
0
        public BigButtonMapper()
        {
            InitializeComponent();

            _device = new XboxBigButtonDevice();
            _device.ButtonStateChanged += _device_ButtonStateChanged;

            _device.Connect();
        }
コード例 #2
0
        public ExampleForm()
        {
            InitializeComponent();

            _device = new XboxBigButtonDevice();
            _device.ButtonStateChanged += _device_ButtonStateChanged;

            _device.Connect();
        }
コード例 #3
0
ファイル: MainForm.cs プロジェクト: richardlc68/XboxBigButton
        public MainForm()
        {
            InitializeComponent();

            // Initialize the movie screen
            MovieScreen = Screen.PrimaryScreen;

            _device = new XboxBigButtonDevice();
            _device.ButtonStateChanged += _device_ButtonStateChanged;

            _device.Connect();
        }