summaryrefslogtreecommitdiff
path: root/src/yuzu/configuration/configure_hotkeys.cpp
AgeCommit message (Collapse)Author
2019-04-09configure_hotkeys: Pass the dialog as a parent to SequenceDialog()Lioncash
Without passing in a parent, this can result in focus being stolen from the dialog in certain cases. Example: On Windows, if the logging window is left open, the logging Window will potentially get focus over the hotkey dialog itself, since it brings all open windows for the application into view. By specifying a parent, we only bring windows for the parent into view (of which there are none, aside from the hotkey dialog).
2019-04-09configure_hotkeys: Avoid dialog memory leak within Configure()Lioncash
Without a parent, this dialog won't have its memory freed when it happens to get destroyed.
2019-04-09configure_hotkeys: Mark member variables as const where applicable in ↵Lioncash
Configure()
2019-04-09configure_hotkeys: Make comparison check a little more self-documentingLioncash
This is checking if an index is valid or not and returning early if it isn't.
2019-04-09configure_hotkey: Make IsUsedKey() a const member functionLioncash
This doesn't actually modify instance state of the dialog, so this can be made const.
2019-03-16yuzu: Make hotkeys configurable via the GUIAdityarup Laha
* Adds a new Hotkeys tab in the Controls group. * Double-click a Hotkey to rebind it.