Skip to content

sim: Swap keyboard-db48x-{42like,old}.png so filenames match content#1698

Open
prismv wants to merge 1 commit into
c3d:devfrom
prismv:fix/sim-keymap-face-swap
Open

sim: Swap keyboard-db48x-{42like,old}.png so filenames match content#1698
prismv wants to merge 1 commit into
c3d:devfrom
prismv:fix/sim-keymap-face-swap

Conversation

@prismv
Copy link
Copy Markdown

@prismv prismv commented May 25, 2026

The visual contents of these two keyboard images were swapped relative to their filenames: keyboard-db48x-42like.png contained the older db48x layout, and keyboard-db48x-old.png contained the 42-style layout.

sim.qrc resolves the runtime image via aliases derived from the keymap file's basename (42style.png, legacy.png, ...), so the wrong image was loaded for both maps — selecting config/42style.48k rendered the legacy face, and selecting config/legacy.48k rendered the 42-style face.

Swap the file contents in place so the qrc aliases (unchanged) now resolve correctly: 42style.png -> 42-style face, legacy.png -> older db48x face.

Forum report:
https://www.hpmuseum.org/forum/thread-20157-post-217541.html#pid217541

Note that is was not investigated, if the legacy face is the historically correct one, but with corrected yellow alpha character (sigma instead of rho). But it was seen that it seems to render like the newer standard db48 face.

The visual contents of these two keyboard images were swapped relative to
their filenames: `keyboard-db48x-42like.png` contained the older db48x
layout, and `keyboard-db48x-old.png` contained the 42-style layout.

sim.qrc resolves the runtime image via aliases derived from the keymap
file's basename (`42style.png`, `legacy.png`, ...), so the wrong image was
loaded for both maps — selecting `config/42style.48k` rendered the legacy
face, and selecting `config/legacy.48k` rendered the 42-style face.

Swap the file contents in place so the qrc aliases (unchanged) now resolve
correctly: `42style.png` -> 42-style face, `legacy.png` -> older db48x face.

Forum report:
https://www.hpmuseum.org/forum/thread-20157-post-217541.html#pid217541
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