aboutsummaryrefslogtreecommitdiffstats
path: root/src/test-native
diff options
context:
space:
mode:
authorSven Gothel <[email protected]>2013-03-24 07:08:42 +0100
committerSven Gothel <[email protected]>2013-03-24 07:08:42 +0100
commitded080fd890c21b54ba1f96d84f9e355711dc88a (patch)
treeba90a80580cf26b17731690d37ffae68da0b32e1 /src/test-native
parent654a678bd7171e81ec947cafa854dad366f5041e (diff)
Newt/MouseEvent: Add 'float[3] getRotation()', getWheelScale() -> getRotationScale(), refinement of commit 18cb57246372eda72c25a5cd9a69a873bdf09489
Turns out the 'wheel' semantics are not generic enough and confining rotation values to one axis only satisfies the traditional mouse wheel. Widen the definition of 'rotation' and delivering 3-axis if supported. On NEWT/Android, we deliver the 2-axis for example, allowing to rotate around both or scrolling using both directions (-> GearsES2).
Diffstat (limited to 'src/test-native')
0 files changed, 0 insertions, 0 deletions