mirror of
https://github.com/autc04/Retro68.git
synced 2024-11-30 19:53:46 +00:00
21 lines
476 B
C
21 lines
476 B
C
#ifndef KEYBINDINGS_H
|
|
#define KEYBINDINGS_H
|
|
|
|
#include <QApplication>
|
|
#include <QKeyEvent>
|
|
#include <QMouseEvent>
|
|
#include <QPainter>
|
|
#include <QPoint>
|
|
#include <qwidget.h>
|
|
#include <qstring.h>
|
|
#include "qtgraphics.h"
|
|
|
|
int mapKeyCode(QKeyEvent *key);
|
|
int getUnicode(QKeyEvent *key);
|
|
int getKeyModifiers(Qt::KeyboardModifiers state);
|
|
int getAEKeyModifiers(Qt::KeyboardModifiers state);
|
|
int getMouseModifiers(QMouseEvent *event);
|
|
int getReleaseModifiers(QMouseEvent *e);
|
|
|
|
#endif
|