mirror of
https://github.com/AxioDL/boo.git
synced 2025-12-08 21:17:50 +00:00
more input stubs
This commit is contained in:
13
include/inputdev/CDeviceBase.hpp
Normal file
13
include/inputdev/CDeviceBase.hpp
Normal file
@@ -0,0 +1,13 @@
|
||||
#ifndef CDEVICEBASE
|
||||
#define CDEVICEBASE
|
||||
|
||||
#include "CDeviceToken.hpp"
|
||||
|
||||
class CDeviceBase
|
||||
{
|
||||
|
||||
public:
|
||||
|
||||
};
|
||||
|
||||
#endif // CDEVICEBASE
|
||||
22
include/inputdev/CDeviceToken.hpp
Normal file
22
include/inputdev/CDeviceToken.hpp
Normal file
@@ -0,0 +1,22 @@
|
||||
#ifndef CDEVICETOKEN
|
||||
#define CDEVICETOKEN
|
||||
|
||||
#include <string>
|
||||
#include <IOKit/hid/IOHIDDevice.h>
|
||||
|
||||
class CDeviceBase;
|
||||
|
||||
class CDeviceToken
|
||||
{
|
||||
std::string m_name;
|
||||
#if __APPLE__
|
||||
|
||||
#elif _WIN32
|
||||
#elif __linux__
|
||||
#endif
|
||||
public:
|
||||
const std::string& getName() const;
|
||||
CDeviceBase* getDevice() const;
|
||||
};
|
||||
|
||||
#endif // CDEVICETOKEN
|
||||
Reference in New Issue
Block a user