mirror of
https://github.com/arabianq/pipewire-soundpad.git
synced 2026-06-19 20:23:33 +00:00
5c4b8f4b45
Replaced the large match blocks in `chord_from_event` and `parse_chord` with `egui::Key::name()` and `egui::Key::from_name()`. This drastically reduces boilerplate code while maintaining the existing behavior that strictly allows only single-character alphanumeric keys and 'F' keys for chords. Co-authored-by: google-labs-jules[bot] <161369871+google-labs-jules[bot]@users.noreply.github.com>