Integration and synchronization of input modes during multimodal human-computer interaction