コード例 #1
0
ファイル: ClientForm.cs プロジェクト: culturespy/ZapU
 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);
 }
コード例 #2
0
ファイル: ServerForm.cs プロジェクト: culturespy/ZapU
 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);
 }