Jump to content

  • Log In with Google      Sign In   
  • Create Account

Banner advertising on our site currently available from just $5!


1. Learn about the promo. 2. Sign up for GDNet+. 3. Set up your advert!


How often dispatch input ?


Old topic!
Guest, the last post of this topic is over 60 days old and at this point you may not reply in this topic. If you wish to continue this conversation start a new topic.

  • You cannot reply to this topic
1 reply to this topic

#1 Alessio1989   Members   -  Reputation: 2411

Like
0Likes
Like

Posted 20 February 2014 - 12:24 PM

I started "playing" with input handling on Win32 (following the ApochPiQ example) and I never directly deal with user inputs (just used some DirectInput code like in the RasterTek tutorials...), so I was wondering how often should I dispatch the user input in the application/game loop?

 

Should I set a time lapse between input dispatches or I just OK dispatching inputs on every application/game loop iteration?

 

I'm asking this because I'm having some issues, especially with v-sync disable where the input response seems very "fragmented" and insanely slow even if the profiling tools doesn't show nothing wrong.


Edited by Alessio1989, 20 February 2014 - 12:25 PM.

When you're upset, just imagine a T-Rex making a bed


Sponsor:

#2 Alessio1989   Members   -  Reputation: 2411

Like
1Likes
Like

Posted 21 February 2014 - 07:01 AM

Never-mind, problem solved: I was treating camera movements as actions instead of states -_-


When you're upset, just imagine a T-Rex making a bed





Old topic!
Guest, the last post of this topic is over 60 days old and at this point you may not reply in this topic. If you wish to continue this conversation start a new topic.



PARTNERS