MCPcopy Create free account
hub / github.com/clementgallet/libTAS / createInputMenu

Method createInputMenu

src/program/ui/MainWindow.cpp:725–738  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

723}
724
725void 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
740void MainWindow::showInputEditorWindow()
741{

Callers

nothing calls this directly

Calls 2

showInputWindowMethod · 0.80

Tested by

no test coverage detected