mirror of
https://github.com/Retropex/dolphin.git
synced 2025-05-28 04:52:35 +02:00
29 lines
557 B
C++
29 lines
557 B
C++
// Copyright 2021 Dolphin Emulator Project
|
|
// SPDX-License-Identifier: GPL-2.0-or-later
|
|
|
|
#pragma once
|
|
|
|
class InputConfig;
|
|
enum class GBAPadGroup;
|
|
struct GCPadStatus;
|
|
|
|
namespace ControllerEmu
|
|
{
|
|
class ControlGroup;
|
|
} // namespace ControllerEmu
|
|
|
|
namespace Pad
|
|
{
|
|
void ShutdownGBA();
|
|
void InitializeGBA();
|
|
void LoadGBAConfig();
|
|
bool IsGBAInitialized();
|
|
|
|
InputConfig* GetGBAConfig();
|
|
|
|
GCPadStatus GetGBAStatus(int pad_num);
|
|
void SetGBAReset(int pad_num, bool reset);
|
|
|
|
ControllerEmu::ControlGroup* GetGBAGroup(int pad_num, GBAPadGroup group);
|
|
} // namespace Pad
|