Re: [Geekos-devel] Need help with GeekOS.. project 0
Status: Pre-Alpha
Brought to you by:
daveho
From: David H. <da...@cs...> - 2005-06-03 17:46:54
|
Joshua Gross wrote: > Well, I hope I don't come across as a complete noob. I'm working on > project 0. Every time I use Wait_For_Key, it returns a pressed key > /twice. /So if I press "f", Wait_For_Key returns it twice. I've also > done some debugging and the Keyboard_Interrupt_Handler also is called > twice. I'm testing in Bochs and also on real hardware and I get the > same result on both. Help? Keypress events are generated for both key presses and key releases. Check for the KEY_RELEASE_FLAG being set in the keycode - those are releases, which you should just discard. -Dave |