mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2026-04-23 13:00:24 -05:00
Add a stubbed GCAdapter namespace.
This cleans up a bunch of #ifdef checks in places.
This commit is contained in:
@@ -0,0 +1,23 @@
|
||||
// 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
|
||||
Reference in New Issue
Block a user