allow audio engine to react to keyboard inputs
This commit is contained in:
@@ -75,7 +75,8 @@ struct KeymapConfig {
|
||||
if(item.getType() == libconfig::Setting::TypeString) note = std::string(item.c_str());
|
||||
|
||||
int8_t noteId = static_cast<int>(notesGroup[note]) % INT8_MAX;
|
||||
int32_t keyId = static_cast<int>(keysGroup[key]) % INT8_MAX;
|
||||
int32_t keyId = static_cast<int>(keysGroup[key]) % INT32_MAX;
|
||||
|
||||
keymap.emplace(keyId, noteId);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user