The scenario is like that;
I need to disable textbox to take input from user by keyboard. But textbox should take inputs using kind of devices
Maybe you need to track 'keyboard press' event? I don't think what automatically pasting something will trigger 'keyboard press' event.