[Pharo-project] Rewriting an Input/EventSensor code