new events for input
Merge pull request #150 from G-Grand/master

new events for input