C# Class Emmellsoft.IoT.Rpi.SenseHat.KeyStateExtensions

Extension methods to the KeyState enum.
Mostra file Open project: emmellsoft/RPi.SenseHat

Public Methods

Method Description
IsPressed ( this keyState ) : bool

Is the key currently pressed?

Method Details

IsPressed() public static method

Is the key currently pressed?
public static IsPressed ( this keyState ) : bool
keyState this The KeyState to check.
return bool