Relevant
Subclasses or lambdas determine whether a user key input is relevant or not. They should also provide a way for actively determining if they are pressed, though this behavior is deferred.
Author
fzzyhmstrs
Since
0.6.0
Inheritors
Functions
Link copied to clipboard
Whether this needs the shift key to be pressed to be relevant. Should only return true if it definitely needs it, not "can have it"
Link copied to clipboard
Determines whether this is relevant to the user inputs provided. In general, only the state you care about should be checked. For example, if your keybind is "X", check that the inputCode is correct but ignore ctrl/shift/alt entirely, unless it is specifically important that they not be pressed.