inputEvents.createEvent

Create a mouse input event that can be passed to an ActionIO handler.

template inputEvents(LocalIO, Event)
@safe static
createEvent
(
Event event
,
bool isActive = true
)
if (
is(LocalIO : IO) &&
is(Event == enum)
)

Parameters

event Event

Event type.

isActive bool

True if the event is "active" and should trigger input actions.

Return Value

The created input event.

Meta