citra-qt: release all buttons when render window focus is lost

credit to @Hawkheart for the original idea
This commit is contained in:
wwylele 2017-03-17 21:41:25 +02:00
parent 423ab5e2bc
commit 5245c86f26
4 changed files with 20 additions and 0 deletions

View file

@ -38,6 +38,8 @@ public:
*/
void ReleaseKey(int key_code);
void ReleaseAllKeys();
private:
std::shared_ptr<KeyButtonList> key_button_list;
};