-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathdinput8.h
More file actions
32 lines (25 loc) · 709 Bytes
/
dinput8.h
File metadata and controls
32 lines (25 loc) · 709 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
#pragma once
#include <dinput.h>
typedef HRESULT(WINAPI *tDirectInput8Create)(
HINSTANCE hinst,
DWORD dwVersion,
REFIID riidltf,
LPVOID * ppvOut,
LPUNKNOWN punkOuter);
tDirectInput8Create oDirectInput8Create;
typedef HRESULT(WINAPI *tEnumDevicesA)(
LPDIRECTINPUT8A This,
DWORD dwDevType,
LPDIENUMDEVICESCALLBACKA lpCallback,
LPVOID pvRef,
DWORD dwFlags);
tEnumDevicesA oEnumDevicesA;
tEnumDevicesA pEnumDevicesA;
typedef HRESULT(WINAPI *tEnumDevicesW)(
LPDIRECTINPUT8W This,
DWORD dwDevType,
LPDIENUMDEVICESCALLBACKW lpCallback,
LPVOID pvRef,
DWORD dwFlags);
tEnumDevicesW oEnumDevicesW;
tEnumDevicesW pEnumDevicesW;