segatools-configurator/button.h
2024-04-14 17:37:36 +07:00

25 lines
654 B
C++

//
// Created by beerpsi on 4/14/2024.
//
#ifndef SEGATOOLS_CONFIGURATOR_BUTTON_H
#define SEGATOOLS_CONFIGURATOR_BUTTON_H
#include <string>
#include <utility>
struct Button {
std::string name;
std::string section;
std::string key;
unsigned short defaultVKey;
unsigned short vKey;
Button(std::string name, std::string section, std::string key, unsigned short defaultVKey, unsigned short vKey) :
name(std::move(name)), section(std::move(section)), key(std::move(key)), defaultVKey(defaultVKey), vKey(vKey) {}
std::string getVKeyName() const;
};
#endif //SEGATOOLS_CONFIGURATOR_BUTTON_H