isPressed abstract method

bool isPressed(
  1. Key a,
  2. [Key b,
  3. Key c,
  4. Key d,
  5. Key e,
  6. Key f]
)

Returns true if a was pressed since the last call to clear.

May optionally provide up to 5 additional keys to check for a combination.

Implementation

bool isPressed(Key a, [Key b, Key c, Key d, Key e, Key f]);