asdf
This commit is contained in:
@@ -47,7 +47,8 @@ namespace Input {
|
||||
void
|
||||
InputDriverFactory::create_input_events(json matrix_config, std::map<char, std::shared_ptr<Event>>& address_event_map,
|
||||
std::map<std::string, std::shared_ptr<Event>>& name_event_map) {
|
||||
for (auto &json_event : matrix_config.at("input_matrix")) {
|
||||
auto& event_array = matrix_config.at("input_matrix");
|
||||
for (auto &json_event : event_array) {
|
||||
|
||||
try {
|
||||
std::string name = json_event.at("name");
|
||||
|
||||
Reference in New Issue
Block a user