- effecto_src.zip
- Effect_Src
- effecto_doc.zip
- EFFECTO PLAYER.pdf
- effecto_exe.zip
- Effecto.exe
- SKIN
- BACK.BMP
- buteqlizer0.bmp
- buteqlizer1.bmp
- EQMAIN.BMP
- MAINBACK.BMP
- maindisable.bmp
- MAINOVER.BMP
- mainpress.bmp
- mainpress11.bmp
- mainunpress.bmp
- mainunpress1.bmp
- playlistback.bmp
- RADIO0.BMP
- RADIO1.BMP
- SKIN.INI
|
//-----------------------------------------------------------------------------
// File: DIUtil.h
//
// Desc: DirectInput support using action mapping
//
// Copyright (C) 1995-2000 Microsoft Corporation. All Rights Reserved.
//-----------------------------------------------------------------------------
#ifndef DIUTIL_H
#define DIUTIL_H
#include <dinput.h>
//-----------------------------------------------------------------------------
// Name: class CInputDeviceManager
// Desc: Input device manager using DX8 action mapping
//-----------------------------------------------------------------------------
class CInputDeviceManager
{
HWND m_hWnd;
TCHAR* m_strUserName;
LPDIRECTINPUT8 m_pDI;
LPDIRECTINPUTDEVICE8 m_pdidDevices[20];
DWORD m_dwNumDevices;
DIACTIONFORMAT m_diaf;
public:
// Device control
HRESULT AddDevice( const DIDEVICEINSTANCE* pdidi, LPDIRECTINPUTDEVICE8 pdidDevice );
HRESULT GetDevices( LPDIRECTINPUTDEVICE8** ppDevices, DWORD* pdwNumDevices );
HRESULT ConfigureDevices( HWND hWnd, IUnknown* pSurface, VOID* pCallback, DWORD dwFlags );
VOID UnacquireDevices();
// Construction
HRESULT SetActionFormat( DIACTIONFORMAT& diaf, BOOL bReenumerate );
HRESULT Create( HWND hWnd, TCHAR* strUserName, DIACTIONFORMAT& diaf );
CInputDeviceManager();
~CInputDeviceManager();
};
#endif
|
By viewing downloads associated with this article you agree to the Terms of Service and the article's licence.
If a file you wish to view isn't highlighted, and is a text file (not binary), please
let us know and we'll add colourisation support for it.
This article has no explicit license attached to it but may contain usage terms in the article text or the download files themselves. If in doubt please contact the author via the discussion board below.
A list of licenses authors might use can be found here