mirror of
https://github.com/melonDS-emu/melonDS.git
synced 2025-07-02 20:09:41 -06:00
do touchscreen input more properly
This commit is contained in:
@ -251,6 +251,11 @@ void EmuThread::run()
|
||||
// process input and hotkeys
|
||||
emuInstance->nds->SetKeyMask(emuInstance->inputMask);
|
||||
|
||||
if (emuInstance->isTouching)
|
||||
emuInstance->nds->TouchScreen(emuInstance->touchX, emuInstance->touchY);
|
||||
else
|
||||
emuInstance->nds->ReleaseScreen();
|
||||
|
||||
if (emuInstance->hotkeyPressed(HK_Lid))
|
||||
{
|
||||
bool lid = !emuInstance->nds->IsLidClosed();
|
||||
|
Reference in New Issue
Block a user