Beispiel #1
0
 /// <summary>
 /// Checks if the physical button combination corresponding to the specified virtual button is being held down.
 /// </summary>
 /// <param name="button">Virtual button to check.</param>
 /// <param name="deviceIdx">Index of the device to check.</param>
 public static bool IsButtonHeld(VirtualButton button, int deviceIdx = 0)
 {
     return(Internal_IsButtonHeld(ref button, deviceIdx));
 }
Beispiel #2
0
 private static extern bool Internal_IsButtonHeld(ref VirtualButton button, int deviceIdx);