RE: [GD-Windows] GetAsyncKeyState / DI
Brought to you by:
vexxed72
From: Pascal G. <pas...@ar...> - 2002-11-05 12:40:31
|
I have implemented both as I use the events as a fall back for the case where DI cannot be used. It's not that much difficult to add but at least you get one safety net. Are you really adverse to using it because you can pretty much reuse the code from the DI samples. I can't really say which one is better though. Pascal. -----Original Message----- From: Pierre Terdiman [mailto:p.t...@wa...] Sent: 05 November 2002 12:14 To: gam...@li... Subject: [GD-Windows] GetAsyncKeyState / DI Say I have an app that just uses "simple" inputs : - standard mouse messages - GetAsyncKeyState() for keys i.e. no special devices such as force feedback joysticks, etc (or even, no joystick at all) Is there any advantages to use DirectInput instead ? What would be the benefits in my case ? (It looks to me like it wouldn't be better, but maybe I'm misssing something) Pierre |