make it able to map the Tab key
This commit is contained in:
parent
68a7865096
commit
34133ef75c
|
@ -903,6 +903,7 @@ bool LoadROM(const char* path, const char* sram, bool direct)
|
||||||
{
|
{
|
||||||
// TODO: streaming mode? for really big ROMs or systems with limited RAM
|
// TODO: streaming mode? for really big ROMs or systems with limited RAM
|
||||||
// for now we're lazy
|
// for now we're lazy
|
||||||
|
// also TODO: validate what we're loading!!
|
||||||
|
|
||||||
FILE* f = Platform::OpenFile(path, "rb");
|
FILE* f = Platform::OpenFile(path, "rb");
|
||||||
if (!f)
|
if (!f)
|
||||||
|
|
|
@ -80,6 +80,8 @@ protected:
|
||||||
void keyPressEvent(QKeyEvent* event) override;
|
void keyPressEvent(QKeyEvent* event) override;
|
||||||
void focusOutEvent(QFocusEvent* event) override;
|
void focusOutEvent(QFocusEvent* event) override;
|
||||||
|
|
||||||
|
bool focusNextPrevChild(bool next) override { return false; }
|
||||||
|
|
||||||
private slots:
|
private slots:
|
||||||
void onClick();
|
void onClick();
|
||||||
|
|
||||||
|
@ -103,6 +105,8 @@ protected:
|
||||||
void focusOutEvent(QFocusEvent* event) override;
|
void focusOutEvent(QFocusEvent* event) override;
|
||||||
void timerEvent(QTimerEvent* event) override;
|
void timerEvent(QTimerEvent* event) override;
|
||||||
|
|
||||||
|
bool focusNextPrevChild(bool next) override { return false; }
|
||||||
|
|
||||||
private slots:
|
private slots:
|
||||||
void onClick();
|
void onClick();
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue