Yes, input_event fulfills the same purpose as this. In fact, mouse support was one of the features I had in mind when designing the class.