void Poller(object sender, EventArgs ea) { ControllerPoller.Poller(gamepad, Proxy, new ControllerPoller.PanicDelegate(DoPanic), new List <RadioButton>() { InputSticksRadio, InputTriggersRadio, }, StickSensitivityNumeric, ShoulderSensitivityNumeric, ShoulderMinimumNumeric, clear_to_send, ref A_button_debounce, ref B_button_debounce, ref X_button_debounce, ref Y_button_debounce); }
private void DoInputs(object sender, EventArgs ea) { ControllerPoller.Poller(gamepad, Device, new ControllerPoller.PanicDelegate(DoPanic), new List <RadioButton>() { RemoteInputRadio, InputSticksRadio, InputTriggersRadio, }, StickSensitivityNumeric, ShoulderSensitivityNumeric, ShoulderMinimumNumeric, Device != null && Device.IsReady, ref A_button_debounce, ref B_button_debounce, ref X_button_debounce, ref Y_button_debounce); }