From v0.8 to v0.9
RMK v0.9 introduces a unified event and processor system, consolidating the previously separate controller and input_processor APIs into a single, cohesive architecture.
Breaking Changes
Macro Changes
Function Changes
Migration Examples
Migrating a Controller to Processor
Before (v0.8):
After (v0.9):
Migrating Registration
Before (v0.8):
After (v0.9):
Migrating Custom Events
Before (v0.8):
After (v0.9):
Migrating Multi-Event Enums
Before (v0.8):
After (v0.9):
Why This Change?
The unified API simplifies the mental model for RMK users:
- One macro for events:
#[event]replaces both#[controller_event]and#[input_event] - One macro for processors:
#[processor]replaces both#[controller]and#[input_processor] - Consistent naming: All event-related functions now use
publish_event()instead of separate names for different event types
This consolidation reduces confusion and makes the codebase more maintainable while preserving all existing functionality.