From c647e0dd7bccb4771dfb4f4b2cdd468e2e2ca8ac Mon Sep 17 00:00:00 2001
From: nickci2002 <58965309+nickci2002@users.noreply.github.com>
Date: Fri, 20 Jun 2025 14:18:15 -0400
Subject: [PATCH] Fixed help dialogue from kalaposfos' changes
Fixed 3 edits made by kalaposfos from a recent commit.
---
src/qt_gui/kbm_help_dialog.cpp | 114 +++++++++++++++++++--------------
1 file changed, 66 insertions(+), 48 deletions(-)
diff --git a/src/qt_gui/kbm_help_dialog.cpp b/src/qt_gui/kbm_help_dialog.cpp
index bd229f689..1c40c6c4d 100644
--- a/src/qt_gui/kbm_help_dialog.cpp
+++ b/src/qt_gui/kbm_help_dialog.cpp
@@ -113,65 +113,73 @@ HelpDialog::HelpDialog(bool* open_flag, QWidget* parent) : QDialog(parent) {
// Helper functions that store the text contents for each tab inb the HelpDialog menu
QString HelpDialog::quickstart() {
- return R"(The keyboard and controller remapping backend, GUI and documentation have been written by kalaposfos
+ return R"(
+The keyboard and controller remapping backend, GUI, and documentation have been written by kalaposfos.
-In this section, you will find information about the project, its features and help on setting up your ideal setup.
+In this section, you will find information about the project and its features, as well as help setting up your ideal setup.
To view the config file's syntax, check out the Syntax tab, for keybind names, visit Normal Keybinds and Special Bindings, and if you are here to view emulator-wide keybinds, you can find it in the FAQ section.
-This project started out because I didn't like the original unchangeable keybinds, but rather than waiting for someone else to do it, I implemented this myself. From the default keybinds, you can clearly tell this was a project built for Bloodborne, but ovbiously you can make adjustments however you like.)";
+This project began because I disliked the original, unchangeable keybinds. Rather than waiting for someone else to do it, I implemented this myself. From the default keybinds, you can clearly tell this was a project built for Bloodborne, but obviously, you can make adjustments however you like.)";
}
QString HelpDialog::faq() {
- return R"(Q: What are the emulator-wide keybinds?
-A: -F12: Triggers Renderdoc capture
+ return R"(
+Q: What are the emulator-wide keybinds?
+A:
+-F12: Triggers Renderdoc capture
-F11: Toggles fullscreen
-F10: Toggles FPS counter
--Ctrl F10: Open the debug menu
--F9: Pauses emultor, if the debug menu is open
+-Ctrl+F10: Open the debug menu
+-F9: Pauses the emulator if the debug menu is open
-F8: Reparses the config file while in-game
-F7: Toggles mouse capture and mouse input
+-F6: Toggles mouse-to-gyro emulation
-Q: How do I change between mouse and controller joystick input, and why is it even required?
-A: You can switch between them with F7, and it is required, because mouse input is done with polling, which means mouse movement is checked every frame, and if it didn't move, the code manually sets the emulator's virtual controller to 0 (back to the center), even if other input devices would update it.
+Q: How do I switch between mouse and controller joystick input? Why is it even required?
+A: Pressing F7 toggles between mouse and controller joystick input. It is required because the program polls the mouse input, which means it checks mouse movement every frame. If it didn't move, the code would manually set the emulator's virtual controller to 0 (to the center), even if other input devices would update it.
Q: What happens if I accidentally make a typo in the config?
-A: The code recognises the line as wrong, and skip it, so the rest of the file will get parsed, but that line in question will be treated like a comment line. You can find these lines in the log, if you search for 'input_handler'.
+A: The code recognises the line as wrong and skips it, so the rest of the file will get parsed, but that line in question will be treated like a comment line. You can find these lines in the log if you search for 'input_handler'.
Q: I want to bind to