Added helper methods to InputEvent
Added helper methods for InputEvent to detect first press and release actions. Could be done before, but this makes it nicer and more clear to write. Would like to amend the in-editor documentation to explain the new methods.