Essentially as the title says, is there anyway to control the usual screenshot functionality through the SDK, eg press A to take a screenshot, rather than menu → screenshot
Ideal if there’s also a way to disable that option in the menu too
Cheers!
Essentially as the title says, is there anyway to control the usual screenshot functionality through the SDK, eg press A to take a screenshot, rather than menu → screenshot
Ideal if there’s also a way to disable that option in the menu too
Cheers!
Welcome!
Assuming Lua:
If you just need to capture the frame buffer contents, use playdate.graphics.getDisplayImage or playdate.graphics.getWorkingImage, depending on your needs (check the API docs for details).
If you want to save this to a file, use playdate.datastore.writeImage but pay close attention to the warning about transparency noncompatibility in the API docs.
I don’t know of a way to disable the system menu screencap option.
If this isn’t what you were looking for or if you need more help, let us know.