Handle keyboards better
Also fixes some crashes of apps on reload
This commit is contained in:
parent
10c2bd0686
commit
1a93b2a756
3 changed files with 40 additions and 20 deletions
|
|
@ -69,6 +69,8 @@ struct SKeyboard {
|
|||
DYNLISTENER(keyboardKey);
|
||||
DYNLISTENER(keyboardDestroy);
|
||||
|
||||
bool active = false;
|
||||
|
||||
// For the list lookup
|
||||
bool operator==(const SKeyboard& rhs) {
|
||||
return keyboard == rhs.keyboard;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue