blob: 1c0fbd8788338c8de7ee57e7df1b6c6ea9cd42af (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
|
// For licensing and usage information, read docs/release/winui_license.txt
//****************************************************************************
#ifndef WINUI_DIRECTINPUT_H
#define WINUI_DIRECTINPUT_H
#undef WINNT
#ifdef DIRECTINPUT_VERSION
#undef DIRECTINPUT_VERSION
#endif
#define DIRECTINPUT_VERSION 0x0700
#include <dinput.h>
extern BOOL DirectInputInitialize(void);
extern void DirectInputClose(void);
extern BOOL CALLBACK inputEnumDeviceProc(LPCDIDEVICEINSTANCE pdidi, LPVOID pv);
extern HRESULT SetDIDwordProperty(LPDIRECTINPUTDEVICE2 pdev, REFGUID guidProperty, DWORD dwObject, DWORD dwHow, DWORD dwValue);
LPDIRECTINPUT GetDirectInput(void);
#endif
|