Пример #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);
     }
 }
 /// <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
 /// <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);
 }