InputMapChain

Undocumented in source.

Constructors

this
this(InputMapping map, Node next)
Undocumented in source.
this
this(Node next)
Undocumented in source.

Members

Functions

afterDraw
void afterDraw(Rectangle , Rectangle )
Undocumented in source. Be warned that the author may not have intended to support it.
afterResize
void afterResize(Vector2 )
Undocumented in source. Be warned that the author may not have intended to support it.
beforeResize
void beforeResize(Vector2 )
Undocumented in source. Be warned that the author may not have intended to support it.
emitEvent
void emitEvent(InputEvent event, int number, bool delegate(InputActionID action, bool isActive, int number) @(safe) callback)
Undocumented in source.
findEvents
auto findEvents(InputEventCode code)

Find the given event type among ones that were emitted this frame. Safety: The range has to be exhausted immediately. No input events can be emitted before the range is disposed of, or the range will break.

Mixins

__anonymous
mixin controlIO
Undocumented in source.

Variables

map
InputMapping map;

Map of input events to input actions.

Inherited Members

From NodeChain

next
Node next(Node value)

Set the next node in chain.

next
inout(Node) next()
nextChain
inout(NodeChain) nextChain()
beforeResize
void beforeResize(Vector2 space)
Undocumented in source. Be warned that the author may not have intended to support it.
afterResize
void afterResize(Vector2 space)
Undocumented in source. Be warned that the author may not have intended to support it.
beforeDraw
void beforeDraw(Rectangle outer, Rectangle inner)
Undocumented in source. Be warned that the author may not have intended to support it.
afterDraw
void afterDraw(Rectangle outer, Rectangle inner)
Undocumented in source. Be warned that the author may not have intended to support it.
resizeImpl
void resizeImpl(Vector2 space)
Undocumented in source. Be warned that the author may not have intended to support it.
drawImpl
void drawImpl(Rectangle outer, Rectangle inner)
Undocumented in source. Be warned that the author may not have intended to support it.

From ActionIO

CoreAction
enum CoreAction

Basic input actions necessary for input actions to work.

Event
enum Event
Undocumented in source.
noopEvent
InputEvent noopEvent(bool isActive)

Create an input event which should never activate any input action. For propagation purposes, this event always counts as handled.

frameEvent
InputEvent frameEvent()

Create an input event to which ActionIO should always bind to the CoreAction.frame input action. Consequently, ActionIO always responds with a CoreAction.frame input action after processing remaining input actions. This can be cancelled by emitting a noopEvent before the frameEvent is handled.

emitEvent
void emitEvent(InputEvent event, int number, bool delegate(immutable InputActionID, bool isActive, int number) @(safe) callback)

Pass an input event to transform into an input map.

Meta