import { Input } from "https://deno.land/x/oid@v0.0.4/mod.ts";
Constructors
Properties
Methods
Combos are interpreted exactly both in buttons pressed per tick (eg, up
will not match up + down the way isOn('Up')
will) and sequence (order and
length).
Combos only test button on state.
Like isOnCombo() but test if the last button event is held.
Like isOnCombo() but test if the last button event is triggered.
Test if all buttons are on. True if the buttons are pressed regardless of
whether other buttons are pressed. Eg, isOn('Up')
will return true when
up is pressed, up and down are pressed, and up and any other button is
pressed.
Call this function after processing the collected input. This function primes the poller to collect input for the next frame so it should occur towards the end of the game update loop after entity processing.