mirror of
https://github.com/vanilla-wiiu/vanilla.git
synced 2025-01-22 08:11:47 -05:00
19 lines
276 B
C
19 lines
276 B
C
|
#ifndef KEYMAP_H
|
||
|
#define KEYMAP_H
|
||
|
|
||
|
#include <QObject>
|
||
|
#include <map>
|
||
|
|
||
|
class KeyMap : public std::map<Qt::Key, int>
|
||
|
{
|
||
|
public:
|
||
|
KeyMap();
|
||
|
|
||
|
bool load(const QString &filename);
|
||
|
bool save(const QString &filename);
|
||
|
|
||
|
static QString getConfigFilename();
|
||
|
|
||
|
};
|
||
|
|
||
|
#endif
|