1
0
mirror of https://github.com/TomHarte/CLK.git synced 2025-08-05 08:26:28 +00:00

Starts to factor out the keyboard mapper.

The more easily to clarify as to #includes, etc, and to allow for a relevant constructor.
This commit is contained in:
Thomas Harte
2021-05-05 18:56:10 -04:00
parent 8da3e91f5e
commit 4858cfce6b
4 changed files with 194 additions and 177 deletions

15
OSBindings/Qt/keyboard.h Normal file
View File

@@ -0,0 +1,15 @@
#ifndef KEYBOARD_H
#define KEYBOARD_H
#include <QMainWindow>
class KeyboardMapper {
public:
KeyboardMapper();
std::optional<Inputs::Keyboard::Key> keyForEvent(QKeyEvent *);
private:
};
#endif // MAINWINDOW_H