buttons-delta-as ( old-buttons new-buttons exemplar -- delta )
Game controller input

Prev:buttons-delta ( old-buttons new-buttons -- delta )


Vocabulary
game.input

Inputs and outputs
old-buttonsa sequence
new-buttonsa sequence
exemplara sequence
deltaa sequence of pressed, released, or f


Word description
Like buttons-delta, but returns a sequence matching the type of the exemplar.

See also
button-delta, buttons-delta

Definition


: buttons-delta-as
( old-buttons new-buttons exemplar -- delta )
[ button-delta ] swap 2map-as ; inline