mirror of
https://github.com/melonDS-emu/melonDS.git
synced 2025-07-23 06:10:03 -06:00
make it able to map the Tab key
This commit is contained in:
@ -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
|
||||
// for now we're lazy
|
||||
// also TODO: validate what we're loading!!
|
||||
|
||||
FILE* f = Platform::OpenFile(path, "rb");
|
||||
if (!f)
|
||||
|
@ -80,6 +80,8 @@ protected:
|
||||
void keyPressEvent(QKeyEvent* event) override;
|
||||
void focusOutEvent(QFocusEvent* event) override;
|
||||
|
||||
bool focusNextPrevChild(bool next) override { return false; }
|
||||
|
||||
private slots:
|
||||
void onClick();
|
||||
|
||||
@ -103,6 +105,8 @@ protected:
|
||||
void focusOutEvent(QFocusEvent* event) override;
|
||||
void timerEvent(QTimerEvent* event) override;
|
||||
|
||||
bool focusNextPrevChild(bool next) override { return false; }
|
||||
|
||||
private slots:
|
||||
void onClick();
|
||||
|
||||
|
Reference in New Issue
Block a user