DeSmuME_SDL_Window - Easy way to display the emulator

class desmume.emulator.DeSmuME_SDL_Window(emu: DeSmuME, auto_pause=True, use_opengl_if_possible=True)[source]

Bases: object

A window that displays the emulator and processes touchscreen and keyboard inputs (default keyboard configuration only). This is meant to be a simple way to use and test the library, for intergration in custom UIs you probably want to process input and display manually.

Should not be instantiated manually!

destroy()[source]

Destroy the window.

draw()[source]

Draw the current framebuffer to the window.

has_quit() bool[source]

Returns true, when the window was closed by the user.

process_input()[source]

Process the touchscreen input for the current cycle.