[visionegg] Low latency keyboard input.
- From: Simeon Fitch <simeon.fitch@xxxxxxxxxxxxx>
- To: visionegg <visionegg@xxxxxxxxxxxxx>
- Date: Fri, 2 Dec 2005 13:29:28 -0500
Over a year ago Timothy Vickery asked a question about bypassing pygame/SDL
for keyboard input, that I'm also curious to know the answer to:
http://www.freelists.org/archives/visionegg/08-2004/msg00018.html
Is there a way to trap the keyboard input event outside the event loop?
My larger issue is basically knowning what the right approach is to
capturing and timing keyboard responses. The way I'm currently doing it is
via a keydown callback added to the Presentation class'
"handle_event_callbacks" property. I call "time.time()" right before calling
"Presentation.go()" for the start time, and record the start time when the
"keydown" callback is triggered.... an approach I don't feel very confident
in. Any tips/advice out there? Am I (and my clients) worrying about a
non-issue?
Thanks,
Simeon
--
Simeon H.K. Fitch, Owner
Mustard Seed Software
- Follow-Ups:
- [visionegg] Re: Low latency keyboard input.
- From: Andrew Straw
Other related posts:
- » [visionegg] Low latency keyboard input.
- » [visionegg] Re: Low latency keyboard input.
- » [visionegg] Re: Low latency keyboard input.
- [visionegg] Re: Low latency keyboard input.
- From: Andrew Straw