WiiLi Wiki frontpage Include your post in the News Get links Hoteles Quito
WiiLi.org Forum Index WiiLi.org
a new revolution
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

How often to update?

 
Post new topic   Reply to topic    WiiLi.org Forum Index -> Wii Remote and Nunchuck
View previous topic :: View next topic  
Author Message
rprince



Joined: 22 May 2007
Posts: 1

Digg It
PostPosted: Tue May 22, 2007 4:24 pm    Post subject: How often to update?

I am hoping to use the cWiimote library for a game written in C, and am wondering how often the .HeartBeat() function needs to be called?

Will calling it every game loop suffice (which will then essentially tie to the frame rate), or does it have to be infinitely looping in a thread? If it has to be in a thread, how should I avoid problems of accessing the data structure from both the main game thread and the .HeartBeat() thread?

Thanks for any input you can give me!

Cheers,
Rikki
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    WiiLi.org Forum Index -> Wii Remote and Nunchuck All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group