Merge changes from topic "b/64114943"

* changes:
  init: switch from /dev/keychord to /dev/input/
  init: use std::function for epoll handling