While Microsoft initially intended that DirectInput would handle all inputs, this didn't work out. DirectX 8.0 (2000), the last version with major changes, included action mapping and broader support for different types of devices. In DirectX 7.0 (1999- ), DirectInput added a long-promised feature of seeing individual mice much like individual joysticks, but the feature didn't work with the later released Windows XP, even though as of 2010 it works with Windows 98/Me and DirectX 9. Mouse support also increased the number of buttons seen from four to eight. DirectX 5.0 (1997) included greatly improved joystick support, including adding haptic feedback, increasing the number of buttons, changing the underlying device-driver model and incorporating a COM-based API. DirectX version 3.0 (1996) added support for keyboards and mice it also improved joystick support. It initially offered true support only for joysticks, as the mouse and keyboard modules simply provided wrappers to the standard Win32 API. History ĭirectX included DirectInput from version 1.0 (1995). Microsoft recommends that new applications make use of the Windows message loop for keyboard and mouse input instead of DirectInput (as indicated in the Meltdown 2005 slideshow ), and to use GameInput instead of DirectInput and other legacy APIs, such as XInput, for controllers. While DirectInput forms a part of the DirectX library, it has not been significantly revised since DirectX 8 (2001–2002). through action mapping, applications can retrieve input data without needing to know what kind of device generated that input.they provide full support for any type of input device, as well as for haptic feedback.they enable an application to retrieve data from input devices even when the application is in the background.Microsoft introduced a new input library called XInput specifically for the Xbox 360 controller.ĭirectInput and XInput provide benefits over normal Win32 input events: Additionally it handles haptic feedback (input/output) devices. It also provides a system for action mapping, which allows the user to assign specific actions within a game to the buttons and axes of the input devices. In computing, DirectInput is a legacy Microsoft API for collecting input from a computer user, via input devices such as the mouse, keyboard, or a gamepad. For the X Window System XInput extension, see X Window System protocols and architecture.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |