コード例 #1
0
 /// <summary>
 /// Sets the reporting.
 /// </summary>
 /// <param name="enableReporting">if set to <c>true</c> [enable reporting].</param>
 public static void SetReporting(bool enableReporting)
 {
     if (xinput != null)
     {
         xinput.XInputEnable(enableReporting);
     }
 }
コード例 #2
0
 /// <summary>Sets the reporting.</summary>
 /// <param name="enableReporting">if set to <c>true</c> [enable reporting].</param>
 public static void SetReporting(bool enableReporting)
 {
     if (xinput == null)
     {
         return;
     }
     xinput.XInputEnable((RawBool)enableReporting);
 }
コード例 #3
0
ファイル: XInput.cs プロジェクト: ng08000/Vortice.Windows
 /// <summary>
 /// Sets the reporting.
 /// </summary>
 /// <param name="enableReporting">if set to <c>true</c> [enable reporting].</param>
 public static void SetReporting(bool enableReporting)
 {
     s_xInput.XInputEnable(enableReporting ? 1 : 0);
 }