diff options
author | Sven Gothel <[email protected]> | 2013-03-24 05:08:30 +0100 |
---|---|---|
committer | Sven Gothel <[email protected]> | 2013-03-24 05:08:30 +0100 |
commit | 18cb57246372eda72c25a5cd9a69a873bdf09489 (patch) | |
tree | e3ca6f545800190dcd7c53c81e9097a8bb07e923 /tools | |
parent | 218b9d88f4ec1d15a46697dd7c5e835660020f99 (diff) |
NEWT/MouseEvent: Refine MultiTouch Event Spec regarding associated 'action' pointer Index; Add PointerType[PointerClass]; Add 'wheelScale' Attribute;
- Refine MultiTouch Event Spec regarding associated 'action' pointer Index
In case an instance represents multi-touch events, i.e. {@link #getPointerCount()} is > 1,
the first data element represents the pointer which triggered the action if individual to one pointer.
For example {@link #getX(int) e.getX(0)} at {@link #EVENT_MOUSE_PRESSED} returns the data of the pressed pointer, etc.
- Add PointerType[PointerClass]
This allows applications to identify the type and it's class [On-/Offscreen]
helping to interpret semantics, e.g. wheel-rotate and new wheel-scale
- Add 'wheelScale' Attribute
Returns the scale used to determine the {@link #getWheelRotation() wheel rotation},
which semantics depends on the {@link #getPointerType() pointer type's} {@link PointerClass}.
See API doc for details ..
TODO: NEWT/Android changes adopting these changes.
Diffstat (limited to 'tools')
0 files changed, 0 insertions, 0 deletions