WorldViz User Forum  

Go Back   WorldViz User Forum > Vizard

 
 
Thread Tools Rate Thread Display Modes
Prev Previous Post   Next Post Next
  #1  
Old 01-23-2009, 05:22 AM
rav rav is offline
Member
 
Join Date: Jan 2009
Posts: 4
Joystick update rate?

Hi!

I found this in the vizjoy.py file:
Quote:
#Update joystick events with same priority as input tasks
viz.EventClass.callback(self,viz.UPDATE_EVENT,self .__update,priority=viz.PRIORITY_INPUT)
Does that mean the state is only updated every frame?
Is it possible to get this to be updated every ms or every tick?

We need precise reaction time measurement like in the "tutorial_reactionTime.py" example but with custom joystick buttons.
I tried "yield viztask.waitEvent(vizjoy.BUTTONDOWN_EVENT, data)" but the data object does not seem to be updated. So I don't know how to get the time, the event occured.
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

Similar Threads
Thread Thread Starter Forum Replies Last Post
How to get the data from Logitech G25 racing wheel ? fuyonggang Vizard 4 12-18-2008 06:14 PM
writing joystick position to a data file Saz Vizard 3 12-17-2008 05:18 AM
Linking problems with Live Character Frank Verberne Vizard 5 06-04-2008 11:42 AM
Joystick Navigation Vinicius Lima Vizard 7 10-23-2007 10:42 AM
Facetracking and Immersion Joystick Vygreif Vizard 1 01-25-2006 10:56 AM


All times are GMT -7. The time now is 10:58 AM.


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