inputEvents.hold

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

template inputEvents(LocalIO, Event)
@safe static
hold
(
bool isActive = false
)
if (
is(LocalIO : IO) &&
is(Event == enum)
)

Parameters

isActive bool

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

Return Value

Type:

The created input event.

Meta