keyboard fix

This commit is contained in:
vaxerski
2022-03-18 23:25:26 +01:00
parent 7f8648fc8b
commit 5971576a50
4 changed files with 30 additions and 8 deletions

View File

@@ -38,4 +38,9 @@ struct SKeyboard {
DYNLISTENER(keyboardMod);
DYNLISTENER(keyboardKey);
DYNLISTENER(keyboardDestroy);
// For the list lookup
bool operator==(const SKeyboard& rhs) {
return keyboard == rhs.keyboard;
}
};