From 5245c86f2662caa0e1e4b20508608b11237993b3 Mon Sep 17 00:00:00 2001 From: wwylele Date: Fri, 17 Mar 2017 21:41:25 +0200 Subject: citra-qt: release all buttons when render window focus is lost credit to @Hawkheart for the original idea --- src/input_common/keyboard.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/input_common/keyboard.h') diff --git a/src/input_common/keyboard.h b/src/input_common/keyboard.h index 76359aa30..861950472 100644 --- a/src/input_common/keyboard.h +++ b/src/input_common/keyboard.h @@ -38,6 +38,8 @@ public: */ void ReleaseKey(int key_code); + void ReleaseAllKeys(); + private: std::shared_ptr key_button_list; }; -- cgit v1.2.3