mirror of
https://github.com/AxioDL/boo.git
synced 2025-12-13 23:26:16 +00:00
FreeBSD Stubs
This commit is contained in:
31
lib/inputdev/HIDDeviceBSD.cpp
Normal file
31
lib/inputdev/HIDDeviceBSD.cpp
Normal file
@@ -0,0 +1,31 @@
|
||||
#include "boo/inputdev/IHIDListener.hpp"
|
||||
#include "boo/inputdev/DeviceFinder.hpp"
|
||||
|
||||
|
||||
namespace boo
|
||||
{
|
||||
|
||||
class HIDListenerBSD final : public IHIDListener
|
||||
{
|
||||
DeviceFinder& m_finder;
|
||||
public:
|
||||
HIDListenerBSD(DeviceFinder& finder)
|
||||
: m_finder(finder)
|
||||
{
|
||||
}
|
||||
|
||||
~HIDListenerBSD()
|
||||
{
|
||||
}
|
||||
|
||||
bool startScanning() { return false; }
|
||||
bool stopScanning() { return false; }
|
||||
|
||||
bool scanNow() { return false; }
|
||||
};
|
||||
|
||||
IHIDListener* IHIDListenerNew(DeviceFinder &finder)
|
||||
{
|
||||
return new HIDListenerBSD(finder);
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user