-
-
Notifications
You must be signed in to change notification settings - Fork 6.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[fix] move virtual window handling to translators to solve issue with remote mappings #13444
Conversation
Gotta run but I can review this tmrw. I noticed, when looking at these lines: window = CWindowTranslator::GetVirtualWindow(window); this would be easier to reason about if all virtual window IDs had "virtual" in the variable name, e.g. int virtualWindow = CWindowTranslator::GetVirtualWindow(window); similar to how we include units in the variable name. Then we could verify that:
|
Sure can adjust the variables. |
@garbear I thought about it again and it doesn't make much sense to change the variable, because it's not necessarily a virtual window ID. |
@HiassofT gave the new test build with this PR a quick test and says it's looking good but will test more tomorrow (Saturday). Hopefully forum users are also able to confirm similar results. |
@MilhouseVH thanks for the fast response and test build. |
Forum users reported it's fixed now. |
With this commit OK button is correctly mapped to OSD action again (previously it was Select) during livetv:
Other remote buttons work fine during livetv as well. Thanks a lot for the quick fix, it looks good to me! |
@garbear any objections? |
@MilhouseVH hope this will fix the reported issue #13433 (comment)
Runtime tested with keyboard mappings for virtual windows and works fine.
I can't test remote mappings because I don't have a remote control anymore (using FLIRC).