14 #ifndef WININPUTDEVICEMANAGER_H 15 #define WININPUTDEVICEMANAGER_H 19 #if defined(_WIN32) && !defined(CPPPARSER) 26 class WinRawInputDevice;
34 WinInputDeviceManager();
35 ~WinInputDeviceManager();
38 void device_destroyed(WinRawInputDevice *device);
40 void on_input(HRAWINPUT handle);
41 void on_input_device_arrival(HANDLE handle);
42 void on_input_device_removal(HANDLE handle);
46 XInputDevice _xinput_device0;
47 XInputDevice _xinput_device1;
48 XInputDevice _xinput_device2;
49 XInputDevice _xinput_device3;
55 static LRESULT WINAPI window_proc(HWND hwnd, UINT msg, WPARAM wparam, LPARAM lparam);
57 typedef CONFIGRET (*pCM_Get_DevNode_Property)(DEVINST,
const DEVPROPKEY *, DEVPROPTYPE *, PBYTE, PULONG, ULONG);
58 pCM_Get_DevNode_Property _CM_Get_DevNode_PropertyW;
This is our own Panda specialization on the default STL map.