CLASS v1.8.0

Event

pykraken.Event

Represents a single input event such as keyboard, mouse, or gamepad activity.

More about Event

Attributes

  • type (EventType | int) — Event type. Built-in Kraken events are returned as EventType values. Custom user events are returned as integers.

At a glance

2 members

Reference

PYTHON API
Event(/, *args, **kwargs)

Initialize self. See help(type(self)) for accurate signature.

type

property
type: EventType | int

The event type.

Built-in Kraken events are returned as EventType values. Custom user events are returned as integers.

Find your next step

Start typing to search the manual.