add better navigation #11

Closed
opened 2026-11-27 02:30:59 +00:00 by github-bot · 3 comments
Owner

@⁠kotelkonrad on GitHub · 2026-11-21 12:55 UTC · original

add navigation though arrows keys (or wasd keys) to browse assets more quickly

**@⁠kotelkonrad** on GitHub · 2026-11-21 12:55 UTC · [original](https://github.com/rpatty-dev/PercyStar/issues/11) add navigation though arrows keys (or wasd keys) to browse assets more quickly
github-bot locked as GitHub sync and limited conversation to collaborators 2026-11-27 02:30:59 +00:00
Author
Owner

@⁠rpatty-dev on GitHub · 2026-11-21 13:11 UTC · original

Implemented in v1.3.7! Explorer and Model Viewer now support ArrowUp/ArrowDown, PageUp/PageDown, Home/End, plus W/S (when not in 3D fly mode) with auto-scrolling. Thanks @⁠kotelkonrad for the suggestion — credited in README & v1.3.7 release notes!

**@⁠rpatty-dev** on GitHub · 2026-11-21 13:11 UTC · [original](https://github.com/rpatty-dev/PercyStar/issues/11#issuecomment-7063093828) Implemented in v1.3.7! Explorer and Model Viewer now support ArrowUp/ArrowDown, PageUp/PageDown, Home/End, plus W/S (when not in 3D fly mode) with auto-scrolling. Thanks @⁠kotelkonrad for the suggestion — credited in README & v1.3.7 release notes!
Author
Owner

@⁠kotelkonrad on GitHub · 2026-11-21 13:20 UTC · original · edited 2026-11-21 13:23 UTC

but it doesn't work on video or audio

**@⁠kotelkonrad** on GitHub · 2026-11-21 13:20 UTC · [original](https://github.com/rpatty-dev/PercyStar/issues/11#issuecomment-7063196002) · edited 2026-11-21 13:23 UTC but it doesn't work on video or audio
Author
Owner

@⁠rpatty-dev on GitHub · 2026-11-21 17:50 UTC · original

Good catch @⁠kotelkonrad — fixed in commit cae3172!

Two bugs blocked keyboard navigation on audio and video:

  1. Audio (.awc): Explorer arrow/page navigation was gated on \udio_player.tracks.is_empty(), so selecting any .awc\ disabled \ArrowUp/\ArrowDown/\PageUp/\PageDown/\Home/\End/\W/\S\ for stepping to the next file. Removed that gate, and added \N\ / \P\ inside the audio player to step between sub-streams within an .awc\ bank.
  2. Video (.bk2): Spawning & docking \inkplay.exe\ stole Windows keyboard focus from the main Explorer window. \dock_child_hwnd()\ now restores \SetForegroundWindow\ + \SetFocus\ back to \PercyStar\ so arrow keys keep working while previewing videos.
**@⁠rpatty-dev** on GitHub · 2026-11-21 17:50 UTC · [original](https://github.com/rpatty-dev/PercyStar/issues/11#issuecomment-7066789992) Good catch @⁠kotelkonrad — fixed in commit cae3172! Two bugs blocked keyboard navigation on audio and video: 1. **Audio (\.awc\):** Explorer arrow/page navigation was gated on \udio_player.tracks.is_empty()\, so selecting any \.awc\ disabled \ArrowUp\/\ArrowDown\/\PageUp\/\PageDown\/\Home\/\End\/\W\/\S\ for stepping to the next file. Removed that gate, and added \N\ / \P\ inside the audio player to step between sub-streams within an \.awc\ bank. 2. **Video (\.bk2\):** Spawning & docking \inkplay.exe\ stole Windows keyboard focus from the main Explorer window. \dock_child_hwnd()\ now restores \SetForegroundWindow\ + \SetFocus\ back to \PercyStar\ so arrow keys keep working while previewing videos.
This discussion has been locked. Commenting is limited to contributors.
No milestone
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
github/rpatty-dev--PercyStar#11
No description provided.