inputEvents.click

A shortcut for getting input events that are known at compile time. Handy for tests.

template inputEvents(LocalIO, Event)
@safe static
click
()
if (
is(LocalIO : IO) &&
is(Event == enum)
)

Return Value

Type:

A mouse button input event.

Meta