segatools-configurator/button.h

25 lines
654 B
C
Raw Normal View History

2024-04-14 12:32:49 +02:00
//
// 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