boo/lib/inputdev/HIDListenerNX.cpp

19 lines
459 B
C++
Raw Normal View History

2018-10-07 02:49:22 +00:00
#include "boo/inputdev/IHIDListener.hpp"
2018-12-08 05:17:51 +00:00
namespace boo {
2018-10-07 02:49:22 +00:00
2018-12-08 05:17:51 +00:00
class HIDListenerNX : public IHIDListener {
DeviceFinder& m_finder;
2018-10-07 02:49:22 +00:00
public:
2018-12-08 05:17:51 +00:00
HIDListenerNX(DeviceFinder& finder) : m_finder(finder) {}
2018-10-07 02:49:22 +00:00
2018-12-08 05:17:51 +00:00
bool startScanning() { return false; }
bool stopScanning() { return false; }
bool scanNow() { return false; }
2018-10-07 02:49:22 +00:00
};
2018-12-08 05:17:51 +00:00
std::unique_ptr<IHIDListener> IHIDListenerNew(DeviceFinder& finder) { return std::make_unique<HIDListenerNX>(finder); }
2018-10-07 02:49:22 +00:00
2018-12-08 05:17:51 +00:00
} // namespace boo