Qt: Mouse button binding support

This commit is contained in:
Connor McLaughlin
2020-04-26 17:23:42 +10:00
parent ce46475e41
commit 3723cd5867
6 changed files with 28 additions and 4 deletions

View File

@@ -104,6 +104,7 @@ public Q_SLOTS:
void updateInputMap();
void applyInputProfile(const QString& profile_path);
void onDisplayWindowKeyEvent(int key, bool pressed);
void onDisplayWindowMouseEvent(int button, bool pressed);
void bootSystem(const SystemBootParameters& params);
void resumeSystemFromState(const QString& filename, bool boot_on_failure);
void powerOffSystem();
@@ -206,9 +207,6 @@ private:
std::atomic_bool m_shutdown_flag{false};
// input key maps, todo hotkeys
std::map<int, InputButtonHandler> m_keyboard_input_handlers;
QTimer* m_background_controller_polling_timer = nullptr;
u32 m_background_controller_polling_enable_count = 0;