Can I use the stylus as a mouse?

+1 vote
asked Nov 26, 2014 by (335 points)
edited May 26, 2016 by Mike Harper
Can I use the stylus as a mouse on zSpace?

1 Answer

0 votes
answered Nov 26, 2014 by (335 points)
edited Jan 5, 2015 by
 
Best answer

Yes. We provide convenience functions in the SDK to automatically generate mouse input from the stylus tip position. 

Ideally your app can go from 3D stylus mode to 2D mouse mode, when the stylus approaches the 2D UI elements on the screen. The trick is to find the screen's coordinates in terms of the 3D model world. See Question/Answer = 'How do I get my 3D objects to appear fixed on the screen, even while the camera moves around?'. There is also a Develop Article code sample to demonstrate stylus control of a 2D UI component.

...