state
¶
-
clubsandwich.blt.state.
state
¶ Object with attributes that map to all BearLibTerminal event and state constants.
For example,
blt_state.shift
returnsTrue
iff the Shift key is down. This is forwarded tobearlibterminal.terminal.state(terminal.TK_SHIFT)
.Numbers are prefixed with
num_
. Soblt_state.num_1
is true iff the “1” key is being pressed.