Skip to content

Update key bindings system and bump mame dependency to 0.2.0#25

Merged
sile merged 4 commits intomainfrom
update-mame-v0.2
Sep 3, 2025
Merged

Update key bindings system and bump mame dependency to 0.2.0#25
sile merged 4 commits intomainfrom
update-mame-v0.2

Conversation

@sile
Copy link
Copy Markdown
Owner

@sile sile commented Sep 3, 2025

No description provided.

@sile sile requested a review from Copilot September 3, 2025 10:26
Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull Request Overview

This PR updates the key bindings system by migrating from Config to ActionBindingSystem and bumps the mame dependency from version 0.1.5 to 0.2.0.

  • Replaces Config with ActionBindingSystem across all components
  • Updates configuration file format to use "bindings" instead of "keybindings" and "triggers" instead of "keys"
  • Updates mame dependency to version 0.2.0

Reviewed Changes

Copilot reviewed 7 out of 8 changed files in this pull request and generated no comments.

Show a summary per file
File Description
src/widget_legend.rs Updates import and parameter type from Config to ActionBindingSystem, changes method calls to match new API
src/main.rs Replaces Config with ActionBindingSystem in imports and variable declarations, updates help text
src/app.rs Changes struct field and parameter types from Config to ActionBindingSystem
src/action.rs Updates type alias from ActionConfig to ActionBindingSystem
configs/sile.jsonc Renames "keybindings" to "bindings" and "keys" to "triggers" throughout configuration
configs/default.jsonc Renames "keybindings" to "bindings" and "keys" to "triggers" throughout configuration
Cargo.toml Bumps mame dependency version from 0.1.5 to 0.2.0

Tip: Customize your code reviews with copilot-instructions.md. Create the file or learn how to get started.

@sile sile merged commit d4180de into main Sep 3, 2025
9 checks passed
@sile sile deleted the update-mame-v0.2 branch September 3, 2025 10:28
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants