mirror of
https://github.com/shadps4-emu/shadPS4.git
synced 2025-08-06 09:22:35 +00:00
^
This commit is contained in:
parent
09856df67b
commit
b02087af88
@ -222,7 +222,10 @@ void ParseInputConfig(const std::string game_id = "") {
|
|||||||
lineCount++;
|
lineCount++;
|
||||||
|
|
||||||
// Strip the ; and whitespace
|
// Strip the ; and whitespace
|
||||||
line.erase(std::remove(line.begin(), line.end(), ' '), line.end());
|
line.erase(std::remove_if(line.begin(), line.end(),
|
||||||
|
[](unsigned char c) { return std::isspace(c); }),
|
||||||
|
line.end());
|
||||||
|
|
||||||
if (line.empty()) {
|
if (line.empty()) {
|
||||||
continue;
|
continue;
|
||||||
}
|
}
|
||||||
|
@ -1,10 +1,11 @@
|
|||||||
// SPDX-FileCopyrightText: Copyright 2024 shadPS4 Emulator Project
|
// SPDX-FileCopyrightText: Copyright 2024 shadPS4 Emulator Project
|
||||||
// SPDX-License-Identifier: GPL-2.0-or-later
|
// SPDX-License-Identifier: GPL-2.0-or-later
|
||||||
|
|
||||||
#include "input_mouse.h"
|
#include <cmath>
|
||||||
|
|
||||||
#include "common/types.h"
|
#include "common/types.h"
|
||||||
#include "controller.h"
|
#include "input/controller.h"
|
||||||
|
#include "input_mouse.h"
|
||||||
|
|
||||||
#include "SDL3/SDL.h"
|
#include "SDL3/SDL.h"
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user