Skip to content

Commit

Permalink
Update game_pad_stick_x_formula, game_pad_stick_y_formula default value
Browse files Browse the repository at this point in the history
  • Loading branch information
tekezo committed Aug 3, 2024
1 parent 5cf7e7c commit 2043a04
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions src/share/core_configuration/details/profile/device.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -108,11 +108,13 @@ class device final {
var m:= 0;
if (absolute_magnitude < 1.0) {
m := delta_magnitude * 8;
m := delta_magnitude * 16;
} else if (absolute_magnitude < 1.5) {
m := absolute_magnitude * 16;
m := absolute_magnitude * 8;
} else if (absolute_magnitude < 2) {
m := absolute_magnitude * 12;
} else {
m := absolute_magnitude * 32;
m := absolute_magnitude * 24;
};
cos(radian) * m;
Expand Down

0 comments on commit 2043a04

Please sign in to comment.