Files
dolphin/Source/Core/InputCommon/GCAdapter.h
T

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

28 lines
582 B
C++
Raw Normal View History

// Copyright 2014 Dolphin Emulator Project
// SPDX-License-Identifier: GPL-2.0-or-later
2014-12-10 20:45:45 +11:00
#pragma once
#include <functional>
2016-01-12 22:34:13 -05:00
#include "Common/CommonTypes.h"
struct GCPadStatus;
2014-12-10 20:45:45 +11:00
namespace GCAdapter
2014-12-10 20:45:45 +11:00
{
void Init();
void ResetRumble();
2014-12-10 20:45:45 +11:00
void Shutdown();
void SetAdapterCallback(std::function<void(void)> func);
void StartScanThread();
void StopScanThread();
2016-08-01 21:16:00 -04:00
GCPadStatus Input(int chan);
void Output(int chan, u8 rumble_command);
bool IsDetected(const char** error_message);
bool DeviceConnected(int chan);
2019-03-29 06:15:58 -05:00
void ResetDeviceType(int chan);
bool UseAdapter();
2014-12-10 20:45:45 +11:00
2021-06-07 12:55:52 +04:00
} // namespace GCAdapter