diff options
author | Sven Gothel <[email protected]> | 2014-04-09 16:40:13 +0200 |
---|---|---|
committer | Sven Gothel <[email protected]> | 2014-04-09 16:40:13 +0200 |
commit | 11021769c78343b842b723a432a08946a65a1ceb (patch) | |
tree | 2b161dc522979ffb36d165f9c118f806471c2b12 /src/jogl/classes/jogamp/opengl/gl2 | |
parent | 38365e14977714df3f19fb6b5880dd6f4d4d5743 (diff) |
NEWT MouseEvent: Decouple pointerIds from single-pointer button, i.e. always use proper pointerId >= 0
In case of single-pointer mouse events, always use pointerId 0,
don't derive from button name.
Multiple pointer events still derive button name from the 'action' pointerId.
This allows applications to utilize pointerId equally for single and multiple
pointer events.
Passed all 'junit.run.newt.event' unit tests
Diffstat (limited to 'src/jogl/classes/jogamp/opengl/gl2')
0 files changed, 0 insertions, 0 deletions