WorldViz User Forum  

Go Back   WorldViz User Forum > Vizard

 
 
Thread Tools Rate Thread Display Modes
Prev Previous Post   Next Post Next
  #2  
Old 05-18-2011, 09:15 AM
farshizzo farshizzo is offline
WorldViz Team Member
 
Join Date: Mar 2003
Posts: 2,849
You should be able to use the standard extension sensor button methods for accessing the wand button data.

From the Sensor basics documentation page:

Code:
<extSensor>.buttonState() - Get the state of the buttons as a bit flag.
 
<extSensor>.buttonCount() - Get the number of buttons on sensor.
 
<extSensor>.isButtonDown(button) - Returns whether the specified button is currently down.
 
viz.SENSOR_DOWN_EVENT - Called when a sensor button is pressed.
 
viz.SENSOR_UP_EVENT - Called when a sensor button is released.
Reply With Quote
 


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -7. The time now is 02:27 PM.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2025, vBulletin Solutions, Inc.
Copyright 2002-2023 WorldViz LLC