![]() |
Rise
The Vieneo Province
|
#include <joystick.h>
Classes | |
| struct | Wrapper |
Public Member Functions | |
| joystick (Viewscreen *ptr) | |
| HRESULT | Poll (InputConfig *config, long *value) |
| void | Update (float fElapsedTime) |
| void | InitializeDevice (InputConfig *config, std::string control) const |
| void | Initialize (HWND prmHWND) |
| HRESULT | EnumDevices () |
| bool | IsGameController (WCHAR *deviceName) const |
Public Attributes | |
| std::vector< DIDEVICEINSTANCE > | deviceList |
| const int | nullzone = 50 |
Static Private Member Functions | |
| static BOOL CALLBACK | EnumAxesCallback (const DIDEVICEOBJECTINSTANCE *pdidoi, VOID *pContext) |
| static BOOL CALLBACK | EnumDevicesCallback (const DIDEVICEINSTANCE *pInst, VOID *pContext) |
Private Attributes | |
| Viewscreen * | viewscreen |
| Logger * | logger |
| HWND | hDlg |
| std::vector< GUID > | polledGuids |
| std::vector< DIJOYSTATE > | polledDeviceStates |
Definition at line 17 of file joystick.h.
| joystick::joystick | ( | Viewscreen * | ptr | ) |
|
staticprivate |
Definition at line 1263 of file joystick.cpp.
| HRESULT joystick::EnumDevices | ( | ) |
Definition at line 554 of file joystick.cpp.
|
staticprivate |
Definition at line 1314 of file joystick.cpp.
| void joystick::Initialize | ( | HWND | prmHWND | ) |
Definition at line 529 of file joystick.cpp.
| void joystick::InitializeDevice | ( | InputConfig * | config, |
| std::string | control ) const |
Definition at line 581 of file joystick.cpp.
| bool joystick::IsGameController | ( | WCHAR * | deviceName | ) | const |
| HRESULT joystick::Poll | ( | InputConfig * | config, |
| long * | value ) |
Definition at line 137 of file joystick.cpp.
| void joystick::Update | ( | float | fElapsedTime | ) |
Definition at line 271 of file joystick.cpp.
| std::vector<DIDEVICEINSTANCE> joystick::deviceList |
Definition at line 29 of file joystick.h.
|
private |
Definition at line 35 of file joystick.h.
|
private |
Definition at line 34 of file joystick.h.
| const int joystick::nullzone = 50 |
Definition at line 30 of file joystick.h.
|
private |
Definition at line 48 of file joystick.h.
|
private |
Definition at line 47 of file joystick.h.
|
private |
Definition at line 33 of file joystick.h.