Skip to content
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

Changed input disable to only be forced on switch #941

Merged
merged 10 commits into from
Aug 8, 2022
6 changes: 5 additions & 1 deletion libultraship/libultraship/Window.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,11 @@ extern "C" {
pad->gyro_x = 0;
pad->gyro_y = 0;

if (!CVar_GetS32("gOpenMenuBar", 0)) {
#ifdef __SWITCH__
if(!CVar_GetS32("gOpenMenuBar", 0)) {
#else
if(!CVar_GetS32("gOpenMenuBar", 0) && !CVar_GetS32("gControlNav", 0)) {
#endif
Ship::Window::ControllerApi->WriteToPad(pad);
}

Expand Down