Add input device handling and views for input devices.