mirror of
https://github.com/PlayCover/PlayCover.git
synced 2026-04-26 00:05:52 +03:00
[PR #405] [MERGED] Fix keymapping not updating #1602
Labels
No labels
UI
app-support
bug
bug
documentation
duplicate
enhancement
game-support
good first issue
help wanted / caution
inactive
invalid
macos-beta
pull-request
question
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/PlayCover#1602
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/PlayCover/PlayCover/pull/405
Author: @TheMoonThatRises
Created: 10/6/2022
Status: ✅ Merged
Merged: 10/9/2022
Merged by: @Depal1
Base:
develop← Head:fix/updatekeymap📝 Commits (1)
4261b0bfix: async keymap📊 Changes
1 file changed (+23 additions, -34 deletions)
View changed files
📝
PlayCover/Model/Keymapping.swift(+23 -34)📄 Description
Fixes #403. The reason why the keymapping would not update is because the keymap variable that PlayCover uses is not synced with the keymap file, as it only reads the file when decoding. This can be solved by having the keymap variable directly return the file's content, which eliminates the problem of the variable being out of sync, and removes the use of the decoder and encoder function.
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.