Skip to content

New keybinding view model and filtering#280

Merged
Ruben2776 merged 2 commits intodevfrom
searchable-keybindings
Dec 22, 2025
Merged

New keybinding view model and filtering#280
Ruben2776 merged 2 commits intodevfrom
searchable-keybindings

Conversation

@Ruben2776
Copy link
Owner

Description

Refactored the keybinding system to include a new KeybindingsViewModel for managing keybinding configurations and their resetting. The changes also include filtering keybindings, and updates to enhance focus handling and read-only behavior of KeybindTextBox. Introduced utility logic for keybinding management via FunctionsKeyHelper and removed functions related to window scaling from FunctionsMapper.

Motivation and Context

Allow users to search for keybindings in the view. Should be more maintainable with a viewodel.

How Has This Been Tested?

Only on macOS, needs Windows testing.

Screenshots (if appropriate):

Types of changes

  • New feature (non-breaking change which adds functionality)

Checklist:

  • My code follows the code style of this project.
  • My change requires a change to the documentation.
  • I have updated the documentation accordingly.

Ruben2776 and others added 2 commits December 2, 2025 11:39
Rewrote keybinding functionality with view model integration

- Introduced `KeybindingsViewModel` for managing and resetting keybindings.
- Added `KeyBindingsModel` to define keybinding configurations.
- Updated `KeybindTextBox` to improve focus handling and read-only behavior.
- Implemented `FunctionsKeyHelper` for managing keybinding-related utility logic.
- Refactored `FunctionsMapper` to remove unused functions related to window scaling.
- Corrected bindings for "ScrollUp" and "ScrollDown" to use appropriate translation keys.
- Fixed "RotateLeft" and "RotateRight" keybindings issues.
- Added missing bindings for "Down" and adjusted logic for internal scroll key derivation.
@Ruben2776 Ruben2776 merged commit cfe7c40 into dev Dec 22, 2025
2 of 3 checks passed
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.

1 participant