dolphin/Source/Core/InputCommon/GCAdapter_Null.cpp
Ryan Houdek 6e503bebc4 Add a stubbed GCAdapter namespace.
This cleans up a bunch of #ifdef checks in places.
2016-01-06 00:57:08 -06:00

23 lines
649 B
C++

// Copyright 2014 Dolphin Emulator Project
// Licensed under GPLv2+
// Refer to the license.txt file included.
#include "InputCommon/GCAdapter.h"
namespace GCAdapter
{
void Init() {}
void Reset() {}
void ResetRumble() {}
void Setup() {}
void Shutdown() {}
void SetAdapterCallback(std::function<void(void)> func) {}
void StartScanThread() {}
void StopScanThread() {}
void Input(int chan, GCPadStatus* pad) {}
void Output(int chan, u8 rumble_command) {}
bool IsDetected() { return false; }
bool IsDriverDetected() { return false; }
bool DeviceConnected(int chan) { return false; }
bool UseAdapter() { return false; }
} // end of namespace GCAdapter