use uinput for keyboard input when there is no xorg available, and if its robust remove xorg dependent code