diff options
Diffstat (limited to 'src/input_common/analog_from_button.cpp')
| -rwxr-xr-x | src/input_common/analog_from_button.cpp | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/input_common/analog_from_button.cpp b/src/input_common/analog_from_button.cpp index 8116fcf9f..6cabdaa3c 100755 --- a/src/input_common/analog_from_button.cpp +++ b/src/input_common/analog_from_button.cpp | |||
| @@ -14,8 +14,7 @@ public: | |||
| 14 | float modifier_scale_) | 14 | float modifier_scale_) |
| 15 | : up(std::move(up_)), down(std::move(down_)), left(std::move(left_)), | 15 | : up(std::move(up_)), down(std::move(down_)), left(std::move(left_)), |
| 16 | right(std::move(right_)), modifier(std::move(modifier_)), | 16 | right(std::move(right_)), modifier(std::move(modifier_)), |
| 17 | modifier_scale(modifier_scale_) { | 17 | modifier_scale(modifier_scale_) {} |
| 18 | } | ||
| 19 | 18 | ||
| 20 | std::tuple<float, float> GetStatus() const override { | 19 | std::tuple<float, float> GetStatus() const override { |
| 21 | constexpr float SQRT_HALF = 0.707106781f; | 20 | constexpr float SQRT_HALF = 0.707106781f; |