Abstract
Static
isReturns true if all of the given keys are currently being pressed
Static
isReturns true if one of the given keys is is currently being pressed.
Static
mapReturns a balanced ternary value (either -1, 0 or 1) according to the match of the keys currently being pressed and the lists of keys given
Static
mapReturns the value given as _active if one or, when _combo is true, all of the given keys are pressed. Returns the value given as _inactive if not.
Collects the keys pressed on the keyboard and stores their status.