|
|
@ -210,7 +210,7 @@ void QtNXWebEngineView::HandleWindowFooterButtonPressedOnce() {
|
|
|
|
if (input_interpreter->IsButtonPressedOnce(button)) {
|
|
|
|
if (input_interpreter->IsButtonPressedOnce(button)) {
|
|
|
|
page()->runJavaScript(
|
|
|
|
page()->runJavaScript(
|
|
|
|
QStringLiteral("yuzu_key_callbacks[%1] == null;").arg(static_cast<u8>(button)),
|
|
|
|
QStringLiteral("yuzu_key_callbacks[%1] == null;").arg(static_cast<u8>(button)),
|
|
|
|
[&](const QVariant& variant) {
|
|
|
|
[this, button](const QVariant& variant) {
|
|
|
|
if (variant.toBool()) {
|
|
|
|
if (variant.toBool()) {
|
|
|
|
switch (button) {
|
|
|
|
switch (button) {
|
|
|
|
case HIDButton::A:
|
|
|
|
case HIDButton::A:
|
|
|
|