Handle key_event in udev.

Use libxkbcommon for this.
Fix mod-handling in X11.