private void joystickStart_Click(object sender, EventArgs e) { jsio = new JoystickIO(); bool success = jsio.Connect(); if (success) { JoystickTimer.Interval = 40; JoystickTimer.Enabled = true; jsStatusPanel.BackColor = Color.Green; } }
private void joystickStart_Click(object sender, EventArgs e) { jsio = new JoystickIO(); bool success = jsio.Connect(); if(success) { JoystickTimer.Interval = 40; JoystickTimer.Enabled = true; jsStatusPanel.BackColor = Color.Green; } }