The Keyboard class handles events from the input class of the luxinia core classes. It provides a system for callbackmechanisms and other utility functions.
this is the same function as input.iskeydown. It is only included here for consistence. This method is insensitive to modifier keys such as SHIFT or ALT. If you poll your keycodes for game actions you should use this method.
The function accepts either the numerical keycode as used in the Keyboard.keycode table or the nameentry in Keyboard.keycode (i.e. "LSHIFT").
This function also handles "CTRL" and "SHIFT" as special codes - since the left and right shift / ctrl keys are different keys and must be polled each - however, if you just pass these strings as arguments, the function will return true if either the left or right key is pressed.
Since 0.93a, this function is case insensitive.