InputCommon/OSX: Refactor IOKit controller interface

This commit is contained in:
spycrab
2019-03-21 16:57:17 +01:00
parent 8713a752f3
commit 80fd01c3c3
2 changed files with 94 additions and 52 deletions

View File

@ -4,6 +4,8 @@
#pragma once
#include <set>
#include <IOKit/hid/IOHIDLib.h>
#include "InputCommon/ControllerInterface/Device.h"
@ -84,6 +86,8 @@ private:
const IOHIDDeviceRef m_device;
const std::string m_device_name;
void AddElements(CFArrayRef elements, std::set<IOHIDElementCookie>& cookies);
ForceFeedback::FFDeviceAdapterReference m_ff_device;
};
}