diff options
| author | Bigs <125335924+PunishedBigs@users.noreply.github.com> | 2023-02-16 12:12:21 +1030 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2023-02-15 20:42:21 -0500 |
| commit | d275740c8835facc3fbdfab6e0266b8d3f2e5822 (patch) | |
| tree | de32161e488aac90f3759bc0f9522c58379003cf /soh/src/code | |
| parent | 8934274c6734d714f0d803a298308bd92831888b (diff) | |
Separate X/Y axis sensitivity sliders (#2472)
* Update z_camera.c
* Update GameControlEditor.cpp
* Update GameControlEditor.cpp
* Update GameControlEditor.cpp
Adding Sliders for first person X and Y axis
* Update z_player.c
Modified variables to allowed separate sensitivity settings for x and y axis
Diffstat (limited to 'soh/src/code')
| -rw-r--r-- | soh/src/code/z_camera.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/soh/src/code/z_camera.c b/soh/src/code/z_camera.c index 81906b1a5..1f14671f9 100644 --- a/soh/src/code/z_camera.c +++ b/soh/src/code/z_camera.c @@ -1485,8 +1485,8 @@ s32 Camera_Free(Camera* camera) { camera->animState = 0; - f32 newCamX = -D_8015BD7C->state.input[0].cur.right_stick_x * 10.0f * (CVarGetFloat("gThirdPersonCameraSensitivity", 1.0f)); - f32 newCamY = D_8015BD7C->state.input[0].cur.right_stick_y * 10.0f * (CVarGetFloat("gThirdPersonCameraSensitivity", 1.0f)); + f32 newCamX = -D_8015BD7C->state.input[0].cur.right_stick_x * 10.0f * (CVarGetFloat("gThirdPersonCameraSensitivityX", 1.0f)); + f32 newCamY = D_8015BD7C->state.input[0].cur.right_stick_y * 10.0f * (CVarGetFloat("gThirdPersonCameraSensitivityY", 1.0f)); camera->play->camX += newCamX * (CVarGetInteger("gInvertXAxis", 0) ? -1 : 1); camera->play->camY += newCamY * (CVarGetInteger("gInvertYAxis", 1) ? 1 : -1); |
