add sendinput handlers