RE: [GD-Windows] GetAsyncKeyState / DI
Brought to you by:
vexxed72
From: Grills, J. <jg...@so...> - 2002-11-05 21:27:27
|
Yup, DirectInput can give you all the key strokes, even when another app has focus. It basically treats the keyboard like a big digital button board -- you don't get any repeat messages. I believe it plugs in at the driver level, so it doesn't use a thread. It can be a bit of a trick to get rid of keystrokes you don't, especially those entered while debugging the application. j -----Original Message----- From: Pierre Terdiman [mailto:p.t...@wa...] Sent: Tuesday, November 05, 2002 3:12 PM To: gam...@li... Subject: Re: [GD-Windows] GetAsyncKeyState / DI > DI can give you buffered input, which has it's benefits. What is it, exactly ? Do you mean it records (say) pressed keys in the background, maybe in another thread, and gives all pressed keys since last query ? Actually it would be a very good reason to switch to DI. >Are you really adverse to using it .... No, I was just wondering if it was worth it. Nothing against the idea. Pierre ------------------------------------------------------- This sf.net email is sponsored by: See the NEW Palm Tungsten T handheld. Power & Color in a compact size! http://ads.sourceforge.net/cgi-bin/redirect.pl?palm0001en _______________________________________________ Gamedevlists-windows mailing list Gam...@li... https://lists.sourceforge.net/lists/listinfo/gamedevlists-windows Archives: http://sourceforge.net/mailarchive/forum.php?forum_id=555 |