Removed boolean flags from input events