Skip to content

Commit

Permalink
Fixed mouse look in selfie mode.
Browse files Browse the repository at this point in the history
  • Loading branch information
Armored-Dragon committed Sep 9, 2024
1 parent 78a8ccc commit 661ca01
Showing 1 changed file with 10 additions and 1 deletion.
11 changes: 10 additions & 1 deletion interface/resources/controllers/keyboardMouse.json
Original file line number Diff line number Diff line change
Expand Up @@ -147,13 +147,22 @@

{ "from": { "makeAxis" : ["Keyboard.MouseMoveUp", "Keyboard.MouseMoveDown"] },
"to": "Actions.DeltaPitch",
"when": "Application.CaptureMouse",
"when": ["Application.CaptureMouse", "!Application.CameraSelfie"],
"filters":
[
{ "type": "scale", "scale": 0.2 }
]
},

{ "from": { "makeAxis" : ["Keyboard.MouseMoveUp", "Keyboard.MouseMoveDown"] },
"to": "Actions.DeltaPitch",
"when": ["Application.CaptureMouse", "Application.CameraSelfie"],
"filters":
[
{ "type": "scale", "scale": -0.2 }
]
},

{ "from": { "makeAxis" : ["Keyboard.MouseMoveUp", "Keyboard.MouseMoveDown"] },
"when": ["Application.CameraLookAt", "Keyboard.RightMouseButton"],
"to": "Actions.DeltaPitch",
Expand Down

0 comments on commit 661ca01

Please sign in to comment.