[−][src]Module olympia_engine::events
Event handling system for local emulators
Note that event handling for remote emulators is slightly
different, see crate::remote
for details on those
Structs
EventEmitter | A producer of events that can be listened to |
EventHandlerId | An identifer for a event handler |
HBlankEvent | PPU has entered the HBlank phase |
ManualStepEvent | A step has happened by a manual user request |
MemoryWriteEvent | Memory has been written to |
ModeChangeEvent | Represents a change in running mode of an emulator |
RegisterWriteEvent | A register has been written to |
Repeat | Indicates whether an event handler should repeat |
RomLoadedEvent | A ROM has been loaded into a remote emulator |
StepCompleteEvent | A single instruction has completed |
VBlankEvent | PPU has entered the VBlank phase |
Enums
Event | Gameboy events that frontends might be interested in |
PPUEvent | Events from the PPU |
Functions
propagate_events | Propagate events from one event emitter to another |
Type Definitions
EventHandler | A method to handle a local event |