DRY up disabled input event filtering. Add touch event coverage.