mirror of
https://github.com/shadps4-emu/shadPS4.git
synced 2025-06-15 07:03:14 +00:00
Revert "Add UI to configure keyboard-to-controller mapping (#308)"
This reverts commit fdb13a3b90
.
This commit is contained in:
parent
c27d79c2e7
commit
dd61c2a0d1
18 changed files with 173 additions and 1436 deletions
|
@ -50,7 +50,6 @@ bool MainWindow::Init() {
|
|||
auto end = std::chrono::steady_clock::now();
|
||||
auto duration = std::chrono::duration_cast<std::chrono::milliseconds>(end - start);
|
||||
statusBar.reset(new QStatusBar);
|
||||
m_controllerControlsDialog.reset(new KeyboardControlsWindow());
|
||||
this->setStatusBar(statusBar.data());
|
||||
// Update status bar
|
||||
int numGames = m_game_info->m_games.size();
|
||||
|
@ -91,9 +90,6 @@ void MainWindow::AddUiWidgets() {
|
|||
ui->toolBar->addWidget(ui->stopButton);
|
||||
ui->toolBar->addWidget(ui->refreshButton);
|
||||
ui->toolBar->addWidget(ui->settingsButton);
|
||||
auto connection = QObject::connect(ui->controllerButton, &QPushButton::clicked, this,
|
||||
&MainWindow::ControllerConfigurationButtonPressed);
|
||||
|
||||
ui->toolBar->addWidget(ui->controllerButton);
|
||||
QFrame* line = new QFrame(this);
|
||||
line->setFrameShape(QFrame::StyledPanel);
|
||||
|
@ -103,10 +99,6 @@ void MainWindow::AddUiWidgets() {
|
|||
ui->toolBar->addWidget(ui->mw_searchbar);
|
||||
}
|
||||
|
||||
void MainWindow::ControllerConfigurationButtonPressed() {
|
||||
m_controllerControlsDialog->show();
|
||||
}
|
||||
|
||||
void MainWindow::CreateDockWindows() {
|
||||
// place holder widget is needed for good health they say :)
|
||||
QWidget* phCentralWidget = new QWidget(this);
|
||||
|
@ -789,10 +781,6 @@ void MainWindow::InstallDirectory() {
|
|||
RefreshGameTable();
|
||||
}
|
||||
|
||||
std::map<u32, KeysMapping> MainWindow::getKeysMapping() {
|
||||
return m_controllerControlsDialog->getKeysMapping();
|
||||
}
|
||||
|
||||
void MainWindow::SetLastUsedTheme() {
|
||||
Theme lastTheme = static_cast<Theme>(Config::getMainWindowTheme());
|
||||
m_window_themes.SetWindowTheme(lastTheme, ui->mw_searchbar);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue