Skip to main content

Module buttons

Module buttons 

Expand description

Zero-Heap Bitset Input Engine.

Provides $O(1)$ zero-allocation input tracking adapted from game engine architectures (replacing dynamic HashSets with fixed CPU word bitsets).

Structs§

ZeroHeapButtonInput
Zero-heap bitset representing 256 discrete button states with single-frame transition events.

Constants§

BUTTON_MIDDLE
BUTTON_PRIMARY
BUTTON_SECONDARY
INPUT_WORDS_4
KEY_A
KEY_ARROW_DOWN
KEY_ARROW_LEFT
KEY_ARROW_RIGHT
KEY_ARROW_UP
KEY_D
KEY_E
KEY_ESCAPE
KEY_Q
KEY_S
KEY_SHIFT
KEY_SPACE
KEY_TAB
KEY_W