modified is_sendinput for onenote.