mirror of
https://github.com/AxioDL/boo.git
synced 2025-06-06 06:33:46 +00:00
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
|
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
|
17
libBoo.pri
17
libBoo.pri
@ -15,7 +15,10 @@ HEADERS += \
|
|||||||
$$PWD/include/inputdev/CDualshockPad.hpp \
|
$$PWD/include/inputdev/CDualshockPad.hpp \
|
||||||
$$PWD/include/inputdev/CGenericPad.hpp \
|
$$PWD/include/inputdev/CGenericPad.hpp \
|
||||||
$$PWD/include/inputdev/CDeviceFinder.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 += \
|
unix:!macx:HEADERS += \
|
||||||
$$PWD/include/x11/CGLXContext.hpp
|
$$PWD/include/x11/CGLXContext.hpp
|
||||||
@ -36,21 +39,25 @@ SOURCES += \
|
|||||||
$$PWD/src/inputdev/CCafeProPad.cpp \
|
$$PWD/src/inputdev/CCafeProPad.cpp \
|
||||||
$$PWD/src/inputdev/CDualshockPad.cpp \
|
$$PWD/src/inputdev/CDualshockPad.cpp \
|
||||||
$$PWD/src/inputdev/CGenericPad.cpp \
|
$$PWD/src/inputdev/CGenericPad.cpp \
|
||||||
$$PWD/src/inputdev/CDeviceFinder.cpp
|
$$PWD/src/inputdev/CDeviceFinder.cpp \
|
||||||
|
$$PWD/src/inputdev/CDeviceBase.cpp
|
||||||
|
|
||||||
unix:!macx:SOURCES += \
|
unix:!macx:SOURCES += \
|
||||||
$$PWD/src/x11/CGLXContext.cpp \
|
$$PWD/src/x11/CGLXContext.cpp \
|
||||||
$$PWD/src/inputdev/CHIDDeviceUdev.cpp
|
$$PWD/src/inputdev/CHIDDeviceUdev.cpp \
|
||||||
|
$$PWD/src/inputdev/CHIDListenerUdev.cpp
|
||||||
|
|
||||||
macx:SOURCES += \
|
macx:SOURCES += \
|
||||||
$$PWD/src/mac/CCGLContext.cpp
|
$$PWD/src/mac/CCGLContext.cpp
|
||||||
|
|
||||||
macx:OBJECTIVE_SOURCES += \
|
macx:OBJECTIVE_SOURCES += \
|
||||||
$$PWD/src/mac/CCGLCocoaView.mm \
|
$$PWD/src/mac/CCGLCocoaView.mm \
|
||||||
$$PWD/src/inputdev/CHIDDeviceIOKit.mm
|
$$PWD/src/inputdev/CHIDDeviceIOKit.mm \
|
||||||
|
$$PWD/src/inputdev/CHIDListenerIOKit.mm
|
||||||
|
|
||||||
win32:SOURCES += \
|
win32:SOURCES += \
|
||||||
$$PWD/src/win/CWGLContext.cpp \
|
$$PWD/src/win/CWGLContext.cpp \
|
||||||
$$PWD/src/inputdev/CHIDDeviceWin32.cpp
|
$$PWD/src/inputdev/CHIDDeviceWin32.cpp \
|
||||||
|
$$PWD/src/inputdev/CHIDListenerWin32.cpp
|
||||||
|
|
||||||
INCLUDEPATH += $$PWD/include
|
INCLUDEPATH += $$PWD/include
|
||||||
|
@ -0,0 +1 @@
|
|||||||
|
#include "IRetraceWaiter.hpp"
|
@ -1 +1 @@
|
|||||||
#include "IHIDDevice.hpp"
|
#include "inputdev/CCafeProPad.hpp"
|
||||||
|
3
src/inputdev/CDeviceBase.cpp
Normal file
3
src/inputdev/CDeviceBase.cpp
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
#include "inputdev/CDeviceBase.hpp"
|
||||||
|
|
||||||
|
|
@ -1,9 +1 @@
|
|||||||
/*
|
#include "inputdev/CDeviceFinder.hpp"
|
||||||
* CDeviceFinder.cpp
|
|
||||||
* libBoo
|
|
||||||
*
|
|
||||||
* Created on 04/19/2015.
|
|
||||||
*
|
|
||||||
*/
|
|
||||||
|
|
||||||
#include <stdio.h>
|
|
||||||
|
@ -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"
|
||||||
|
1
src/inputdev/CHIDListenerIOKit.mm
Normal file
1
src/inputdev/CHIDListenerIOKit.mm
Normal file
@ -0,0 +1 @@
|
|||||||
|
#include "IHIDListener.hpp"
|
1
src/inputdev/CHIDListenerUdev.cpp
Normal file
1
src/inputdev/CHIDListenerUdev.cpp
Normal file
@ -0,0 +1 @@
|
|||||||
|
#include "IHIDListener.hpp"
|
1
src/inputdev/CHIDListenerWin32.cpp
Normal file
1
src/inputdev/CHIDListenerWin32.cpp
Normal file
@ -0,0 +1 @@
|
|||||||
|
#include "IHIDListener.hpp"
|
@ -1 +1 @@
|
|||||||
#include "IHIDDevice.hpp"
|
#include "inputdev/CRevolutionPad.hpp"
|
||||||
|
@ -1,5 +1,9 @@
|
|||||||
#ifndef IHIDDEVICE_HPP
|
#ifndef IHIDDEVICE_HPP
|
||||||
#define IHIDDEVICE_HPP
|
#define IHIDDEVICE_HPP
|
||||||
|
|
||||||
|
class IHIDDevice
|
||||||
|
{
|
||||||
|
|
||||||
|
};
|
||||||
|
|
||||||
#endif // IHIDDEVICE_HPP
|
#endif // IHIDDEVICE_HPP
|
||||||
|
9
src/inputdev/IHIDListener.hpp
Normal file
9
src/inputdev/IHIDListener.hpp
Normal file
@ -0,0 +1,9 @@
|
|||||||
|
#ifndef IHIDLISTENER_HPP
|
||||||
|
#define IHIDLISTENER_HPP
|
||||||
|
|
||||||
|
class IHIDListener
|
||||||
|
{
|
||||||
|
|
||||||
|
};
|
||||||
|
|
||||||
|
#endif // IHIDLISTENER_HPP
|
Loading…
x
Reference in New Issue
Block a user