[][src]Module blinds::event_cache

An optional module to store the current state of input devices

While the least error-prone way of handling input is to process events as they come in and update your application's state accordingly, sometimes it is convenient or ergonomic to refer to the global state of the input devices. The EventCache and CachedEventStream are designed to make this easy and avoid some non-obvious pitfalls.

Structs

CachedEventStream

A wrapper around EventStream and EventCache for convenience

EventCache

A struct that stores all input event values

GamepadState
PointerState