Archived

This topic is now archived and is closed to further replies.

Cherub

input

Recommended Posts

branhield    122
Well, DirectInput offers several advantages that the other methods cant:

1. It allows full access to any input device and any special device capabilities, such as force feedback.

2. It allows direct access to the hardware, allowing the fastest possible interaction and greatest degree of control. It even lets you retrieve data from devices while your game is running in the background.

3. With DirectX 8, you now dont have to know what type of intput device is connected to obtain data from it. This helps reduce or eliminate device-specific code.


Hope this helps. /Daniel

[edited by - branhield on October 2, 2002 2:58:40 PM]

Share this post


Link to post
Share on other sites
zedzeek    529
somebody quoting the press blurb :D

i believe sdl uses directinput under windows (dont quote me on this though check it up)

personally ive never seen DI giving any benifits in any game WRT responsiveness, ie substitute DI for another method play the game,
does it respond slower? NO.
does it run faster when benchmarked? NO.

there are possibly situations where u will want to use DI, but i cant think of any off the top of my head at the moment

http://uk.geocities.com/sloppyturds/kea/kea.html
http://uk.geocities.com/sloppyturds/gotterdammerung.html

Share this post


Link to post
Share on other sites