Implement gesture events for touchpad.
Add missing event class for release gesture.