Example #1
0
 public bool IsButtonPressed(LcdButton button)
 {
     return(LcdPinvoke.LogiLcdIsButtonPressed((int)button));
 }
 /// <summary>
 ///     Checks if a specified button on a Logitech G-Series device is pressed
 /// </summary>
 /// <param name="button">
 ///     The button to check the state of
 /// </param>
 /// <seealso cref="LcdButton" />
 /// <returns>True if the specified button is pressed, false if not</returns>
 public bool LcdIsButtonPressed(LcdButton button)
 {
     return(NativeMethods.LogiLcdIsButtonPressed((int)button));
 }
Example #3
0
 public bool IsButtonPressed(LcdButton button)
 {
     return LcdPinvoke.LogiLcdIsButtonPressed((int)button);
 }