Expand description

Implements hardware key autorepeat.

The Autorepeater is a bit of an exception among the stages of the input pipeline. This handler does not implement [input_pipeline::InputHandler], as it requires a different approach to event processing.

Specifically, it requires the ability to interleave the events it generates into the flow of “regular” events through the input pipeline. While the [input_pipeline::InputHandler] trait could in principle be modified to admit this sort of approach to event processing, in practice the Autorepeater is for now the only stage that requires this approach, so it is not cost effective to retrofit all other handlers just for the sake of this one. We may revisit this decision if we grow more stages that need autorepeat.

Structs§