melonDS-android-lib icon indicating copy to clipboard operation
melonDS-android-lib copied to clipboard

Close Lid when locking android screen

Open ez-me opened this issue 2 years ago • 0 comments

Considering the Samsung Z Flip and Z Fold can provide a more close to reality experience with their foldable screens, it would be nice if actually closing them would close the emulated DS lid.

Currently locking the screen pauses emulation, but it would be even nicer if emulation continued for a few seconds (with a wake_lock) in order for the game to trigger actions when the lid is closed, and then actually pause emulation.

Notable examples include Super Mario 64 DS which says "Buh Bye!" when closing the lid, and "It's-a me, Mario!" when opening it up.

ez-me avatar Jan 21 '23 02:01 ez-me