| 118 | } |
| 119 | |
| 120 | void addButtonInfoToString(std::string label, std::string& str, std::tuple<bool, u8> buttonInfo) |
| 121 | { |
| 122 | const auto& [pressed, pressure] = buttonInfo; |
| 123 | if (pressed) |
| 124 | { |
| 125 | str += fmt::format(" {}:{}", label, pressure); |
| 126 | } |
| 127 | } |
| 128 | |
| 129 | void addButtonInfoToString(std::string label, std::string& str, bool pressed) |
| 130 | { |