Add initial support for hardware keyboard