add touch callback types
Merge pull request #9092 from zawasp/touch-callbakcs

define touch callback types