15 m_poDirectInput8 = NULL;
24 if ( m_poDirectInput8 )
26 m_poDirectInput8->Release();
27 m_poDirectInput8 =
TNULL;
45 m_hMainWindow = a_hMainWindow;
49 static BOOL CALLBACK EnumerateDeviceCallback( LPCDIDEVICEINSTANCEA a_poDeviceInstance, LPVOID poDXInputInterface );
51 LPDIRECTINPUT8A GetDirectInput()
const
53 return m_poDirectInput8;
57 LPDIRECTINPUT8A m_poDirectInput8;
Input system interface for the Toshi engine.
#define TOSHI_NAMESPACE_START
#define TOSHI_NAMESPACE_END
virtual TBOOL Deinitialise() override
virtual void RefreshDirect()
virtual ~TInputDXInterface() override
virtual void SetExclusiveMode(TBOOL a_bIsExclusive) override
TDECLARE_CLASS(TInputDXInterface, TInputInterface)
void SetMainWindow(HWND a_hMainWindow)
virtual TBOOL Initialise() override
HWND GetMainWindow() const