mirror of
https://github.com/shadps4-emu/shadPS4.git
synced 2025-08-05 08:52:36 +00:00
^
This commit is contained in:
parent
09856df67b
commit
b02087af88
@ -222,7 +222,10 @@ void ParseInputConfig(const std::string game_id = "") {
|
||||
lineCount++;
|
||||
|
||||
// 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()) {
|
||||
continue;
|
||||
}
|
||||
|
@ -1,10 +1,11 @@
|
||||
// SPDX-FileCopyrightText: Copyright 2024 shadPS4 Emulator Project
|
||||
// SPDX-License-Identifier: GPL-2.0-or-later
|
||||
|
||||
#include "input_mouse.h"
|
||||
#include <cmath>
|
||||
|
||||
#include "common/types.h"
|
||||
#include "controller.h"
|
||||
#include "input/controller.h"
|
||||
#include "input_mouse.h"
|
||||
|
||||
#include "SDL3/SDL.h"
|
||||
|
||||
@ -70,4 +71,4 @@ Uint32 MousePolling(void* param, Uint32 id, Uint32 interval) {
|
||||
return interval;
|
||||
}
|
||||
|
||||
} // namespace Input
|
||||
} // namespace Input
|
||||
|
Loading…
Reference in New Issue
Block a user