Now gets gesture type properly in gesture callback of Touchpad.
Rename invoke -> callback in keyboard callback.