Qt/input: windows workaround to fix shift on the basic keyboard handler

This commit is contained in:
Megamouse 2019-08-13 00:17:32 +02:00
parent 62414cee15
commit 8a31c7a7c8
2 changed files with 63 additions and 4 deletions

View file

@ -1,4 +1,4 @@
#pragma once
#pragma once
#include "stdafx.h"
#include "Emu/Io/KeyboardHandler.h"
@ -18,6 +18,7 @@ public:
bool eventFilter(QObject* obj, QEvent* ev) override;
void keyPressEvent(QKeyEvent* event);
void keyReleaseEvent(QKeyEvent* event);
int getUnmodifiedKey(QKeyEvent* event);
void LoadSettings();
private:
QWindow* m_target = nullptr;