mirror of https://github.com/AxioDL/boo.git
more input stubs
This commit is contained in:
parent
e7368bfa04
commit
bbc3e87844
|
@ -0,0 +1,9 @@
|
|||
#ifndef IRETRACEWAITER_HPP
|
||||
#define IRETRACEWAITER_HPP
|
||||
|
||||
class IRetraceWaiter
|
||||
{
|
||||
|
||||
};
|
||||
|
||||
#endif // IRETRACEWAITER_HPP
|
|
@ -0,0 +1,13 @@
|
|||
#ifndef CDEVICEBASE
|
||||
#define CDEVICEBASE
|
||||
|
||||
#include "CDeviceToken.hpp"
|
||||
|
||||
class CDeviceBase
|
||||
{
|
||||
|
||||
public:
|
||||
|
||||
};
|
||||
|
||||
#endif // CDEVICEBASE
|
|
@ -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
|
17
libBoo.pri
17
libBoo.pri
|
@ -15,7 +15,10 @@ HEADERS += \
|
|||
$$PWD/include/inputdev/CDualshockPad.hpp \
|
||||
$$PWD/include/inputdev/CGenericPad.hpp \
|
||||
$$PWD/include/inputdev/CDeviceFinder.hpp \
|
||||
$$PWD/src/inputdev/IHIDDevice.hpp
|
||||
$$PWD/include/inputdev/CDeviceToken.hpp \
|
||||
$$PWD/include/inputdev/CDeviceBase.hpp \
|
||||
$$PWD/src/inputdev/IHIDDevice.hpp \
|
||||
$$PWD/src/inputdev/IHIDListener.hpp
|
||||
|
||||
unix:!macx:HEADERS += \
|
||||
$$PWD/include/x11/CGLXContext.hpp
|
||||
|
@ -36,21 +39,25 @@ SOURCES += \
|
|||
$$PWD/src/inputdev/CCafeProPad.cpp \
|
||||
$$PWD/src/inputdev/CDualshockPad.cpp \
|
||||
$$PWD/src/inputdev/CGenericPad.cpp \
|
||||
$$PWD/src/inputdev/CDeviceFinder.cpp
|
||||
$$PWD/src/inputdev/CDeviceFinder.cpp \
|
||||
$$PWD/src/inputdev/CDeviceBase.cpp
|
||||
|
||||
unix:!macx:SOURCES += \
|
||||
$$PWD/src/x11/CGLXContext.cpp \
|
||||
$$PWD/src/inputdev/CHIDDeviceUdev.cpp
|
||||
$$PWD/src/inputdev/CHIDDeviceUdev.cpp \
|
||||
$$PWD/src/inputdev/CHIDListenerUdev.cpp
|
||||
|
||||
macx:SOURCES += \
|
||||
$$PWD/src/mac/CCGLContext.cpp
|
||||
|
||||
macx:OBJECTIVE_SOURCES += \
|
||||
$$PWD/src/mac/CCGLCocoaView.mm \
|
||||
$$PWD/src/inputdev/CHIDDeviceIOKit.mm
|
||||
$$PWD/src/inputdev/CHIDDeviceIOKit.mm \
|
||||
$$PWD/src/inputdev/CHIDListenerIOKit.mm
|
||||
|
||||
win32:SOURCES += \
|
||||
$$PWD/src/win/CWGLContext.cpp \
|
||||
$$PWD/src/inputdev/CHIDDeviceWin32.cpp
|
||||
$$PWD/src/inputdev/CHIDDeviceWin32.cpp \
|
||||
$$PWD/src/inputdev/CHIDListenerWin32.cpp
|
||||
|
||||
INCLUDEPATH += $$PWD/include
|
||||
|
|
|
@ -0,0 +1 @@
|
|||
#include "IRetraceWaiter.hpp"
|
|
@ -1 +1 @@
|
|||
#include "IHIDDevice.hpp"
|
||||
#include "inputdev/CCafeProPad.hpp"
|
||||
|
|
|
@ -0,0 +1,3 @@
|
|||
#include "inputdev/CDeviceBase.hpp"
|
||||
|
||||
|
|
@ -1,9 +1 @@
|
|||
/*
|
||||
* CDeviceFinder.cpp
|
||||
* libBoo
|
||||
*
|
||||
* Created on 04/19/2015.
|
||||
*
|
||||
*/
|
||||
|
||||
#include <stdio.h>
|
||||
#include "inputdev/CDeviceFinder.hpp"
|
||||
|
|
|
@ -1 +1 @@
|
|||
#include "IHIDDevice.hpp"
|
||||
#include "inputdev/CDolphinSmashAdapter.hpp"
|
||||
|
|
|
@ -1 +1 @@
|
|||
#include "IHIDDevice.hpp"
|
||||
#include "inputdev/CDualshockPad.hpp"
|
||||
|
|
|
@ -1 +1 @@
|
|||
#include "IHIDDevice.hpp"
|
||||
#include "inputdev/CGenericPad.hpp"
|
||||
|
|
|
@ -0,0 +1 @@
|
|||
#include "IHIDListener.hpp"
|
|
@ -0,0 +1 @@
|
|||
#include "IHIDListener.hpp"
|
|
@ -0,0 +1 @@
|
|||
#include "IHIDListener.hpp"
|
|
@ -1 +1 @@
|
|||
#include "IHIDDevice.hpp"
|
||||
#include "inputdev/CRevolutionPad.hpp"
|
||||
|
|
|
@ -1,5 +1,9 @@
|
|||
#ifndef IHIDDEVICE_HPP
|
||||
#define IHIDDEVICE_HPP
|
||||
|
||||
class IHIDDevice
|
||||
{
|
||||
|
||||
};
|
||||
|
||||
#endif // IHIDDEVICE_HPP
|
||||
|
|
|
@ -0,0 +1,9 @@
|
|||
#ifndef IHIDLISTENER_HPP
|
||||
#define IHIDLISTENER_HPP
|
||||
|
||||
class IHIDListener
|
||||
{
|
||||
|
||||
};
|
||||
|
||||
#endif // IHIDLISTENER_HPP
|
Loading…
Reference in New Issue