OpenBarnyard
 
Loading...
Searching...
No Matches
TInputDeviceController_Win.h
Go to the documentation of this file.
1#pragma once
2#include "Includes.h"
4
6
8{
9public:
10 virtual TBOOL Initialise() { return TTRUE; }
11
12 static TBOOL IsDirectInputController( LPCDIDEVICEINSTANCEA a_poDeviceInstance );
13 TBOOL const BindToDIDevice( HWND a_mainWindow, LPCDIDEVICEINSTANCEA a_poDeviceInstance, IDirectInputDevice8A* a_poDXInputDevice );
14
15 static TINT CALLBACK EnumerateObjectCallback( LPCDIDEVICEOBJECTINSTANCEA a_poDeviceInstance, LPVOID a_pData )
16 {
17 return 1;
18 }
19
20private:
21 TBOOL m_bIsXInput;
22 IDirectInputDevice8A* m_pDXInputDevice;
23 DIDEVCAPS m_pDXDiDevCaps;
24};
25
Controller input device interface for the Toshi engine.
#define TOSHI_NAMESPACE_START
Definition Defines.h:47
#define TOSHI_NAMESPACE_END
Definition Defines.h:50
int TINT
Definition Typedefs.h:7
#define TTRUE
Definition Typedefs.h:25
bool TBOOL
Definition Typedefs.h:6
static TINT CALLBACK EnumerateObjectCallback(LPCDIDEVICEOBJECTINSTANCEA a_poDeviceInstance, LPVOID a_pData)
TBOOL const BindToDIDevice(HWND a_mainWindow, LPCDIDEVICEINSTANCEA a_poDeviceInstance, IDirectInputDevice8A *a_poDXInputDevice)
static TBOOL IsDirectInputController(LPCDIDEVICEINSTANCEA a_poDeviceInstance)