mirror of
https://github.com/PrismLauncher/PrismLauncher.git
synced 2025-06-12 21:27:44 +02:00
NOISSUE Add Konami Code
Fun little thing for hiding extra debug options in the future.
This commit is contained in:
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;
|
||||
};
|
Reference in New Issue
Block a user