From 3ad4ff9c215616e4aa1c79284f4d795b627df68f Mon Sep 17 00:00:00 2001 From: j Date: Sun, 25 Aug 2024 13:02:17 +1000 Subject: [PATCH] formatting --- src/input/controller.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/input/controller.cpp b/src/input/controller.cpp index 6104e4c5..bbc5fb02 100644 --- a/src/input/controller.cpp +++ b/src/input/controller.cpp @@ -2,10 +2,10 @@ // SPDX-License-Identifier: GPL-2.0-or-later #include +#include "common/logging/log.h" #include "core/libraries/kernel/time_management.h" #include "core/libraries/pad/pad.h" #include "input/controller.h" -#include "common/logging/log.h" namespace Input { @@ -105,7 +105,7 @@ void GameController::Axis(int id, Input::Axis axis, int value) { // Rest point for L2/R2 is ideally 0 but may drift // Use some hysteresis to avoid glitches - const int ON_THRESHOLD = 31; // 255 / 8 + const int ON_THRESHOLD = 31; // 255 / 8 const int OFF_THRESHOLD = 16; // 255 / 16 + 1 if (axis == Input::Axis::TriggerLeft) {