MCPcopy Create free account
hub / github.com/Boomslangnz/FFBArcadePlugin / DirectInputDeviceWrapper

Method DirectInputDeviceWrapper

IDirectInputDevice.cpp:6–19  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

4static int configGameId = GetPrivateProfileInt(TEXT("Settings"), TEXT("GameId"), 1, settingsFilenameA);
5
6DirectInputDeviceWrapper::DirectInputDeviceWrapper(LPVOID device, bool unicode)
7{
8 useUnicode = unicode;
9 if (unicode)
10 {
11 pDeviceW = (LPDIRECTINPUTDEVICE8W)device;
12 pDeviceA = NULL;
13 }
14 else
15 {
16 pDeviceA = (LPDIRECTINPUTDEVICE8A)device;
17 pDeviceW = NULL;
18 }
19}
20
21DirectInputDeviceWrapper::~DirectInputDeviceWrapper(void)
22{

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected