inputService will call this method when a key press needs to be handled. Returning anything but false or nil in this method will prevent further handling of key presses.
inputService will call this method when a key press needs to be handled. Returning anything but false or nil in this method will prevent further handling of key presses.
1 string key
the key that was pressed.