#include <MainObj.h>
The DirectInput main object.
| xl7::directinput::MainObj::MainObj | ( | void | ) |
Default constructor.
| xl7::directinput::MainObj::~MainObj | ( | void | ) |
Destructor.
| devices::InputDevice* xl7::directinput::MainObj::GetDevice | ( | const size_t | i | ) | [inline] |
Returns the i-th (zero-indexed) input device.
| const devices::InputDevice* xl7::directinput::MainObj::GetDevice | ( | const size_t | i | ) | const [inline] |
Returns the i-th (zero-indexed) input device.
| size_t xl7::directinput::MainObj::GetDeviceCount | ( | ) | const [inline] |
Returns the number of input devices.
| devices::InputDeviceManager& xl7::directinput::MainObj::GetDeviceManager | ( | ) | [inline] |
Returns the input device manager.
| const IDirectInput8* xl7::directinput::MainObj::GetInterface | ( | ) | const [inline] |
Returns the DirectInput main interface.
| IDirectInput8* xl7::directinput::MainObj::GetInterface | ( | ) | [inline] |
Returns the DirectInput main interface.
| void xl7::directinput::MainObj::UpdateInputDeviceStates | ( | const float | time | ) |
Updates the state of the input devices.
DirectInput already initialized.
DirectInput device already initialized.
IDirectInput8::CreateDevice failed and returned an error.
The creation of a game controller device caused an error.
The creation of a game controller device succeeded.
The creation of a keyboard device caused an error.
The creation of a keyboard device succeeded.
The creation of a mouse device caused an error.
The creation of a mouse device succeeded.
IDirectInput8::CreateDevice succeeded.
IDirectInput8::EnumDevices failed and returned an error.
IDirectInput8::EnumDevices succeeded.
DirectInputCreate8 failed and returned NULL.
DirectInputCreate8 succeeded.
DirectInput not initialized correctly.
DirectInput successfully initialized.
DirectInput not shut down correctly.
DirectInput successfully shut down.
1.7.1