Deriving PartialEq for InputEvent