lib/gamnit: intro `accept_events` and other input related services