1
0
Fork 0
mirror of https://github.com/beefytech/Beef.git synced 2025-06-10 20:42:21 +02:00

DirectInput support

This commit is contained in:
Brian Fiete 2020-11-27 06:25:54 -08:00
parent b9f84d328e
commit 98c35f4a87
6 changed files with 64 additions and 1 deletions

View file

@ -10,6 +10,7 @@ NS_BF_BEGIN;
class RenderDevice;
class DSoundManager;
class DInputManager;
typedef Dictionary<void*, HGLOBAL> PtrToHGlobalMap;
typedef Dictionary<String, uint32> StringToUIntMap;
@ -90,6 +91,7 @@ public:
bool mInMsgProc;
StringToUIntMap mClipboardFormatMap;
DSoundManager* mDSoundManager;
DInputManager* mDInputManager;
protected:
virtual void Draw() override;
@ -115,6 +117,9 @@ public:
virtual void SetClipboardData(const StringImpl& format, const void* ptr, int size, bool resetClipboard) override;
virtual void RehupMouse() override;
virtual String EnumerateInputDevices() override;
virtual BFInputDevice* CreateInputDevice(const StringImpl& guid) override;
virtual BFSysBitmap* LoadSysBitmap(const WCHAR* fileName) override;
virtual BFSoundManager* GetSoundManager() override;