Skip to content

Custom Capture Keybind Fixes#95

Closed
skurtyyskirts wants to merge 1 commit intoNVIDIAGameWorks:mainfrom
skurtyyskirts:clean-fixes
Closed

Custom Capture Keybind Fixes#95
skurtyyskirts wants to merge 1 commit intoNVIDIAGameWorks:mainfrom
skurtyyskirts:clean-fixes

Conversation

@skurtyyskirts
Copy link
Contributor

My last commit was a huge mess, this one should be much cleaner (never using git terminal to try and mess with github again lol)

Let me know if any adjustments need to be made :)

@MarkEHenderson
Copy link
Collaborator

REMIX-4005 for internal tracking

}
virtKeys.push_back(vk);
bFoundValidConfig = true;
} catch (...) {
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It's usually not a good idea to just catch all possible errors. If you know the precise error being thrown for your specific failure case, it's better to catch that one specifically.

Regardless, since this represents some user provided option that is failing to parse, you should add an error log message to this catch case.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Ahh I see - thanks! Did a revision, does that look ok?

Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good! Please squash your commits and I'll see about merging it in.

Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

If you're having issues squashing, I generally use the method in this post:
https://stackoverflow.com/a/5189600

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

If you're having issues squashing, I generally use the method in this post: https://stackoverflow.com/a/5189600

That worked! Thanks, I switched over to using Cursor to help me with the github stuff - EXACTLY what I needed, just a step in the right direction haha, should be all squashed now :)

Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good! I'll see about getting this integrated.

@skurtyyskirts skurtyyskirts force-pushed the clean-fixes branch 2 times, most recently from 09f3f79 to a99de42 Compare April 16, 2025 18:26
@MarkEHenderson
Copy link
Collaborator

This has been merged internally, and should show up on Github once the automated pipelines push everything through

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