ppsspp/Qt/controls.h
Xele02 19a3cb9f8e Make OpenGL always draw something. Where there is no game, display the PPSSPP logo screen.
Add hack for X11 user which can have a crash when opening the first dialog and Gl is drawing.
Remove the "open file" dialog automatic display on startup, very annoying.
2013-02-05 22:23:42 +01:00

42 lines
597 B
C++

#ifndef CONTROLS_H
#define CONTROLS_H
#include <QDialog>
#include "native/input/input_state.h"
#include "Core/HLE/sceCtrl.h"
namespace Ui {
class Controls;
}
struct Controls_
{
public:
QString editName;
QString command;
Qt::Key key;
int emu_id;
int psp_id;
};
const int controllistCount = 16;
extern Controls_ controllist[];
class Controls : public QDialog
{
Q_OBJECT
public:
explicit Controls(QWidget *parent = 0);
~Controls();
void showEvent(QShowEvent *);
private slots:
void releaseLock();
void on_buttonBox_accepted();
private:
Ui::Controls *ui;
};
#endif // CONTROLS_H