mirror of
https://github.com/spice2x/spice2x.github.io.git
synced 2026-08-01 22:30:42 -07:00
gitadora: various fixes for wailing (#513)
## Link to GitHub Issue, if one exists Fixes #512 ## Description of change Fix digital wailing not being recognized consistently. Also address the fact that wailing was completely broken when lefty mode was on. This requires a new option that the user needs to check off in the configurator since we can't magically guess if the user is holding the guitar in lefty mode. - [x] fix downward wail - [x] digital lefty mode - [x] implement all of this for arena model i/o - [x] test dx cab 2p - [x] lefty toggle in overlay - [x] fix analog not working for 2p guitar - [ ] analog lefty mode? ## Testing Checked GW and GW Delta
This commit is contained in:
@@ -249,7 +249,7 @@ namespace overlay::windows {
|
||||
// help text for binding buttons, if the game has one
|
||||
const auto help_text = games::get_buttons_help(this->games_selected_name);
|
||||
if (!help_text.empty()) {
|
||||
ImGui::TextColored(ImVec4(1.f, 0.7f, 0, 1), "Button Layout");
|
||||
ImGui::TextColored(ImVec4(1.f, 0.7f, 0, 1), "Button Bindings");
|
||||
ImGui::Spacing();
|
||||
ImGui::TextWrapped("%s", help_text.c_str());
|
||||
ImGui::TextUnformatted("");
|
||||
@@ -299,8 +299,18 @@ namespace overlay::windows {
|
||||
}
|
||||
if (ImGui::BeginTabItem("Analogs")) {
|
||||
tab_selected_new = ConfigTab::CONFIG_TAB_ANALOGS;
|
||||
|
||||
ImGui::BeginChild("Analogs", ImVec2(
|
||||
0, ImGui::GetWindowContentRegionMax().y - page_offset2), false);
|
||||
|
||||
// help text for binding analog, if the game has one
|
||||
const auto help_text = games::get_analogs_help(this->games_selected_name);
|
||||
if (!help_text.empty()) {
|
||||
ImGui::TextColored(ImVec4(1.f, 0.7f, 0, 1), "Analog Bindings");
|
||||
ImGui::Spacing();
|
||||
ImGui::TextWrapped("%s", help_text.c_str());
|
||||
ImGui::TextUnformatted("");
|
||||
}
|
||||
this->build_analogs("Game", games::get_analogs(this->games_selected_name));
|
||||
ImGui::EndChild();
|
||||
ImGui::EndTabItem();
|
||||
|
||||
Reference in New Issue
Block a user