diff options
author | Sven Gothel <[email protected]> | 2013-02-28 15:24:42 +0100 |
---|---|---|
committer | Sven Gothel <[email protected]> | 2013-02-28 15:24:42 +0100 |
commit | b85903ac92be7884e99eb7b85884033d7ea42337 (patch) | |
tree | 3ed60852b1148d9aa1984b6744c15eea5fe7026a /www/media/jogl-applet-graph-text01.png | |
parent | 01fdd5c564dcb8a7d4f8347f71728f8c2b657cb3 (diff) |
NEWT: Harmonize MouseEvent Pressure (API Change!)
Due to high fluctuation (lack of normalized) pressure values on Android devices,
an option to query the normalized value and access to the current known maximum pressure is required.
MouseEvent:
- getMaxPressure() returning the [self calibrated] known maximum pressure
- getPressure(..) -> getPressure(.., boolean normalize) (API Change!)
- return normalize ? pressure/maxPressure : pressure;
Diffstat (limited to 'www/media/jogl-applet-graph-text01.png')
0 files changed, 0 insertions, 0 deletions