input event  class