| 723 | } |
| 724 | |
| 725 | void MainWindow::createInputMenu() |
| 726 | { |
| 727 | |
| 728 | /* Input Menu */ |
| 729 | QMenu *inputMenu = menuBar()->addMenu(tr("Input")); |
| 730 | inputMenu->setToolTipsVisible(true); |
| 731 | |
| 732 | inputMenu->addAction(tr("Configure mapping..."), this, [this] { windowManager->showInputWindow(); }); |
| 733 | |
| 734 | mouseModeAction = inputMenu->addAction(tr("Mouse relative mode"), this, LAMBDABOOLSLOT(context->config.sc.mouse_mode_relative)); |
| 735 | mouseModeAction->setCheckable(true); |
| 736 | |
| 737 | inputMenu->addAction(tr("Joystick inputs..."), this, [this] { windowManager->showControllerTabWindow(); }); |
| 738 | } |
| 739 | |
| 740 | void MainWindow::showInputEditorWindow() |
| 741 | { |
nothing calls this directly
no test coverage detected