Returns whether the given key is currently pressed.
key
bool isPressed(GKey key) { return _lastEvent?.rawEvent.isKeyPressed(key) ?? false; }