APIs to provide gamepad::SourceDevice objects based on the Microsoft DirectX DirectInput APIs. More...
![]() |
Functions | |
smart_ptr< SourceDeviceFactory > | gamepad::getDirectInputSourceDeviceFactory (void) |
Use this method to create a gamepad::SourceDeviceFactory object capable of providing SourceDevice objects from the DirectInput API. |
APIs to provide gamepad::SourceDevice objects based on the Microsoft DirectX DirectInput APIs.
This library uses Microsoft's DirectInput APIs as the authoritative source for gamepad events, because (presumably) this is Microsoft's best attempt to meet the needs of game programmers.
Suprisingly, DirectInput has broken support for Microsoft's own most famous controller, the XBox360 gamepad. See the wikipedia XInput entry for some technical description and possible explanations: http://en.wikipedia.org/wiki/Xinput
smart_ptr< SourceDeviceFactory > gamepad::getDirectInputSourceDeviceFactory | ( | void | ) |
Use this method to create a gamepad::SourceDeviceFactory object capable of providing SourceDevice objects from the DirectInput API.