Add an event sensor:on_left() (fix #339).