diff options
| author | Jordan Woyak <jordan.woyak@gmail.com> | 2018-12-27 19:16:37 -0600 |
|---|---|---|
| committer | Jordan Woyak <jordan.woyak@gmail.com> | 2018-12-27 19:16:37 -0600 |
| commit | c614f5f534cdb7a083387505aff90e8be94fed73 (patch) | |
| tree | c5d752d1beaa939f715a1e67e243bb9b6723a38f /Source/Core/DolphinQt/Config/Mapping/MappingIndicator.cpp | |
| parent | da9bcf83efeb1ede43e1c2ac08e6869ce8a2c15a (diff) | |
ControllerEmu: Allow analog stick input radius greater than one. Useful for rounded-square inputs of xbox controllers.
Diffstat (limited to 'Source/Core/DolphinQt/Config/Mapping/MappingIndicator.cpp')
| -rw-r--r-- | Source/Core/DolphinQt/Config/Mapping/MappingIndicator.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Source/Core/DolphinQt/Config/Mapping/MappingIndicator.cpp b/Source/Core/DolphinQt/Config/Mapping/MappingIndicator.cpp index e6e8c72875..a09b41e5db 100644 --- a/Source/Core/DolphinQt/Config/Mapping/MappingIndicator.cpp +++ b/Source/Core/DolphinQt/Config/Mapping/MappingIndicator.cpp @@ -138,8 +138,8 @@ void MappingIndicator::DrawCursor(bool tilt) template <typename F> QPolygonF GetPolygonFromRadiusGetter(F&& radius_getter, double scale) { - // 24 is a multiple of 8 (octagon) and enough points to be visibly pleasing: - constexpr int shape_point_count = 24; + // A multiple of 8 (octagon) and enough points to be visibly pleasing: + constexpr int shape_point_count = 32; QPolygonF shape{shape_point_count}; int p = 0; |
