mirror of
https://gitea.tendokyu.moe/beerpsi/segatools-configurator.git
synced 2024-11-23 23:00:57 +01:00
25 lines
654 B
C++
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
|