Closed mojoaxel closed 12 years ago
i'd rename the function isLeftMouseButtonPressed to isLeftMouseButton (because technically, it's not pressed anymore on mouseup...) also if you return in _onMouseEvent (which is the right place), you don't need the additional condition in __normalizeMouseEvent.
General Question: Maybe this should be configurable? What if you want to write an application that does work with the right mouse button aswell? (ok, it might be very theoretical, as the handler is mostly for touch events... maybe we should offer first class mouse support via an additional Mouse event handler?
@dominikg You can simply use the mouse handler if you need right button support.
This pull request is manually merged as the Touch handler part is moved to unify's qooxdoo fork.
fixes #75