public BigButtonMapper()
        {
            InitializeComponent();

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

            _device.Connect();
        }
Example #2
0
        public ExampleForm()
        {
            InitializeComponent();

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

            _device.Connect();
        }
Example #3
0
        public MainForm()
        {
            InitializeComponent();

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

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

            _device.Connect();
        }