more input stubs

This commit is contained in:
Jack Andersen 2015-04-19 12:52:45 -10:00
parent e7368bfa04
commit bbc3e87844
17 changed files with 82 additions and 19 deletions

View File

@ -0,0 +1,9 @@
#ifndef IRETRACEWAITER_HPP
#define IRETRACEWAITER_HPP
class IRetraceWaiter
{
};
#endif // IRETRACEWAITER_HPP

View File

@ -0,0 +1,13 @@
#ifndef CDEVICEBASE
#define CDEVICEBASE
#include "CDeviceToken.hpp"
class CDeviceBase
{
public:
};
#endif // CDEVICEBASE

View 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

View File

@ -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

View File

@ -0,0 +1 @@
#include "IRetraceWaiter.hpp"

View File

@ -1 +1 @@
#include "IHIDDevice.hpp"
#include "inputdev/CCafeProPad.hpp"

View File

@ -0,0 +1,3 @@
#include "inputdev/CDeviceBase.hpp"

View File

@ -1,9 +1 @@
/*
* CDeviceFinder.cpp
* libBoo
*
* Created on 04/19/2015.
*
*/
#include <stdio.h>
#include "inputdev/CDeviceFinder.hpp"

View File

@ -1 +1 @@
#include "IHIDDevice.hpp"
#include "inputdev/CDolphinSmashAdapter.hpp"

View File

@ -1 +1 @@
#include "IHIDDevice.hpp"
#include "inputdev/CDualshockPad.hpp"

View File

@ -1 +1 @@
#include "IHIDDevice.hpp"
#include "inputdev/CGenericPad.hpp"

View File

@ -0,0 +1 @@
#include "IHIDListener.hpp"

View File

@ -0,0 +1 @@
#include "IHIDListener.hpp"

View File

@ -0,0 +1 @@
#include "IHIDListener.hpp"

View File

@ -1 +1 @@
#include "IHIDDevice.hpp"
#include "inputdev/CRevolutionPad.hpp"

View File

@ -1,5 +1,9 @@
#ifndef IHIDDEVICE_HPP
#define IHIDDEVICE_HPP
class IHIDDevice
{
};
#endif // IHIDDEVICE_HPP

View File

@ -0,0 +1,9 @@
#ifndef IHIDLISTENER_HPP
#define IHIDLISTENER_HPP
class IHIDListener
{
};
#endif // IHIDLISTENER_HPP