NOISSUE Add Konami Code
Fun little thing for hiding extra debug options in the future.
This commit is contained in:
parent
ea151ca9d4
commit
303842a19e
5 changed files with 80 additions and 0 deletions
17
application/KonamiCode.h
Normal file
17
application/KonamiCode.h
Normal file
|
@ -0,0 +1,17 @@
|
|||
#pragma once
|
||||
|
||||
#include <QKeyEvent>
|
||||
|
||||
class KonamiCode : public QObject
|
||||
{
|
||||
Q_OBJECT
|
||||
public:
|
||||
KonamiCode(QObject *parent = 0);
|
||||
void input(QEvent *event);
|
||||
|
||||
signals:
|
||||
void triggered();
|
||||
|
||||
private:
|
||||
int m_progress = 0;
|
||||
};
|
Loading…
Add table
Add a link
Reference in a new issue