diff options
| author | 2023-02-14 11:13:47 -0500 | |
|---|---|---|
| committer | 2023-02-14 12:35:39 -0500 | |
| commit | 683019878fc939b418a65e1c5d84b066596d7655 (patch) | |
| tree | 6b2a2e8ea34cb00a3fccf3613a52475550997035 /src/input_common/drivers/mouse.cpp | |
| parent | apply clang-format (diff) | |
| download | yuzu-683019878fc939b418a65e1c5d84b066596d7655.tar.gz yuzu-683019878fc939b418a65e1c5d84b066596d7655.tar.xz yuzu-683019878fc939b418a65e1c5d84b066596d7655.zip | |
remove static from pointer sized or smaller types for aesthetics, change constexpr static to static constexpr for consistency
Signed-off-by: arades79 <scravers@protonmail.com>
Diffstat (limited to 'src/input_common/drivers/mouse.cpp')
| -rw-r--r-- | src/input_common/drivers/mouse.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/input_common/drivers/mouse.cpp b/src/input_common/drivers/mouse.cpp index dfa93d58a..faf9cbdc3 100644 --- a/src/input_common/drivers/mouse.cpp +++ b/src/input_common/drivers/mouse.cpp | |||
| @@ -37,7 +37,7 @@ Mouse::Mouse(std::string input_engine_) : InputEngine(std::move(input_engine_)) | |||
| 37 | 37 | ||
| 38 | void Mouse::UpdateThread(std::stop_token stop_token) { | 38 | void Mouse::UpdateThread(std::stop_token stop_token) { |
| 39 | Common::SetCurrentThreadName("Mouse"); | 39 | Common::SetCurrentThreadName("Mouse"); |
| 40 | constexpr static int update_time = 10; | 40 | constexpr int update_time = 10; |
| 41 | while (!stop_token.stop_requested()) { | 41 | while (!stop_token.stop_requested()) { |
| 42 | if (Settings::values.mouse_panning && !Settings::values.mouse_enabled) { | 42 | if (Settings::values.mouse_panning && !Settings::values.mouse_enabled) { |
| 43 | // Slow movement by 4% | 43 | // Slow movement by 4% |