keyboard_waitforupdate not blocking?

Search this archive.

From: Jason (jason@jnj.org)
Date: Wed 19 Sep 2001 - 20:08:36 IDT


howdy

It seems that keyboard_waitforupdate doesn't block properly.  I have
a loop like:

while(1) {
	keyboard_waitforupdate();
	if(keyboard_keypressed(SCANCODE_ESCAPE))
		break;
}

that sucks up 100% of cpu.  what am I missing?

-- 
Jason Burnett  
jason@jnj.org      
What if the Hokey Pokey really IS what it's all about?

------------------------------------------------------------------
Unsubscribe:  To:   listbot@svgalib.org
              Body: unsubscribe linux-svgalib


This archive was generated by hypermail 2.1.4 : Wed 21 Jan 2004 - 22:10:24 IST