mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-03-29 10:56:45 +01:00
32 lines
645 B
C++
32 lines
645 B
C++
// Copyright 2015 Dolphin Emulator Project
|
|
// Licensed under GPLv2+
|
|
// Refer to the license.txt file included.
|
|
|
|
#pragma once
|
|
|
|
#include <string>
|
|
|
|
#include "InputCommon/ControllerEmu.h"
|
|
|
|
struct KeyboardStatus;
|
|
|
|
class GCKeyboard : public ControllerEmu
|
|
{
|
|
public:
|
|
GCKeyboard(const unsigned int index);
|
|
void GetInput(KeyboardStatus* const pad);
|
|
std::string GetName() const override;
|
|
void LoadDefaults(const ControllerInterface& ciface) override;
|
|
|
|
private:
|
|
Buttons* m_keys0x;
|
|
Buttons* m_keys1x;
|
|
Buttons* m_keys2x;
|
|
Buttons* m_keys3x;
|
|
Buttons* m_keys4x;
|
|
Buttons* m_keys5x;
|
|
ControlGroup* m_options;
|
|
|
|
const unsigned int m_index;
|
|
};
|