Standardizes the cursor event callback organization.