CommonLibSSE NG
Loading...
Searching...
No Matches
BSDirectInputManager.h
Go to the documentation of this file.
1#pragma once
2
3#include "RE/B/BSTSingleton.h"
4
5namespace RE
6{
7 class BSDirectInputManager : public BSTSingletonSDM<BSDirectInputManager>
8 {
9 public:
11
12 DirectInput8::IDirectInputDevice8A* CreateDeviceWithGUID(WinAPI::GUID* a_guid);
13 void GetDeviceState(DirectInput8::IDirectInputDevice8A* a_device, std::uint32_t a_size, void* a_outData);
14 void GetDeviceData(DirectInput8::IDirectInputDevice8A* a_device, std::uint32_t* a_dataSize, DirectInput8::DIDEVICEOBJECTDATA** a_outData);
15 void ReleaseDevice(DirectInput8::IDirectInputDevice8A* a_device);
16
17 // members
18 std::uint32_t pad00; // 00
19 DirectInput8::IDirectInput8A* diInterface; // 08
20 };
21 static_assert(sizeof(BSDirectInputManager) == 0x10);
22}
Definition BSDirectInputManager.h:8
void GetDeviceData(DirectInput8::IDirectInputDevice8A *a_device, std::uint32_t *a_dataSize, DirectInput8::DIDEVICEOBJECTDATA **a_outData)
std::uint32_t pad00
Definition BSDirectInputManager.h:18
DirectInput8::IDirectInputDevice8A * CreateDeviceWithGUID(WinAPI::GUID *a_guid)
void ReleaseDevice(DirectInput8::IDirectInputDevice8A *a_device)
void GetDeviceState(DirectInput8::IDirectInputDevice8A *a_device, std::uint32_t a_size, void *a_outData)
DirectInput8::IDirectInput8A * diInterface
Definition BSDirectInputManager.h:19
static BSDirectInputManager * GetSingleton()
Definition AbsorbEffect.h:6
Definition BSTSingleton.h:50
Definition DInputAPI.h:217
Definition WinAPI.h:65