Document keyboard and mouse support