Input Timing
I need to implement an input timer for the keyboard. how is the best way. I don''t want it tied to the fps so that frame rates don''t matter for input.
InFerN0
Not all who wander are lost...
InFerN0Not all who wander are lost...
You could make a thread dedicated to getting keyboard input... good luck sycronizing, but that would still poll at your sleep(rate);
the win32 api or direct input may have a keyboard callback function. .... i think direct input does, you have to interpret the scan codes then, its not acsii.
Edited by - Magmai Kai Holmlor on October 6, 2000 11:51:11 PM
the win32 api or direct input may have a keyboard callback function. .... i think direct input does, you have to interpret the scan codes then, its not acsii.
Edited by - Magmai Kai Holmlor on October 6, 2000 11:51:11 PM
- The trade-off between price and quality does not exist in Japan. Rather, the idea that high quality brings on cost reduction is widely accepted.-- Tajima & Matsubara
This topic is closed to new replies.
Advertisement
Popular Topics
Advertisement
Recommended Tutorials
Advertisement