Issue #3427: modify mouse event register codes with new event manager

Modify mouse event register codes with new event manager