[PR #111] [MERGED] Add keyboard controls to playback controller #431

Closed
opened 2026-02-28 14:32:59 +03:00 by kerem · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/jpochyla/psst/pull/111
Author: @JuliDi
Created: 8/18/2021
Status: Merged
Merged: 8/18/2021
Merged by: @jpochyla

Base: masterHead: add-more-keyboard-commands


📝 Commits (5)

  • 1612a38 Add cmd+h for hide and ctrl+space for pause/resume
  • 5a3fdbc revert ctrl+space for pause
  • eeb6cb8 add pause/resume with space and left/right for previous next
  • 4258d8c add volume control with + and - keys
  • 88888c4 Fix some corner-cases in the playback shortcuts

📊 Changes

1 file changed (+49 additions, -10 deletions)

View changed files

📝 psst-gui/src/controller/playback.rs (+49 -10)

📄 Description

As discussed in #108, more keyboard controls are added to the playback controller.

For now, this includes:

  • Space for pause/resume
  • Right/Left Arrow for next/previous song
  • +/- for increase/decrease volume

One todo for this change (in a new PR?) would be reading those keys from the config file to make the shortcuts changeable via the settings. But I'd need some input on on how this should be implemented.


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/jpochyla/psst/pull/111 **Author:** [@JuliDi](https://github.com/JuliDi) **Created:** 8/18/2021 **Status:** ✅ Merged **Merged:** 8/18/2021 **Merged by:** [@jpochyla](https://github.com/jpochyla) **Base:** `master` ← **Head:** `add-more-keyboard-commands` --- ### 📝 Commits (5) - [`1612a38`](https://github.com/jpochyla/psst/commit/1612a38b0f76459a6d6688e78e5aa155ba658371) Add cmd+h for hide and ctrl+space for pause/resume - [`5a3fdbc`](https://github.com/jpochyla/psst/commit/5a3fdbce331ef5d714c22681e01e5e073decbcbf) revert ctrl+space for pause - [`eeb6cb8`](https://github.com/jpochyla/psst/commit/eeb6cb8f02d497447b5627a3cd151639f782ff84) add pause/resume with space and left/right for previous next - [`4258d8c`](https://github.com/jpochyla/psst/commit/4258d8ce69a1044926abe6a30a466f12877698a0) add volume control with + and - keys - [`88888c4`](https://github.com/jpochyla/psst/commit/88888c491667cc7c3eba4489da0a34e572c8e348) Fix some corner-cases in the playback shortcuts ### 📊 Changes **1 file changed** (+49 additions, -10 deletions) <details> <summary>View changed files</summary> 📝 `psst-gui/src/controller/playback.rs` (+49 -10) </details> ### 📄 Description As discussed in #108, more keyboard controls are added to the playback controller. For now, this includes: - `Space` for pause/resume - `Right/Left Arrow` for next/previous song - `+/-` for increase/decrease volume One todo for this change (in a new PR?) would be reading those keys from the config file to make the shortcuts changeable via the settings. But I'd need some input on on how this should be implemented. --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
kerem 2026-02-28 14:32:59 +03:00
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/psst#431
No description provided.