tweak: lowered mouse sensitivity
This commit is contained in:
parent
8567a274f1
commit
5bd8b88376
|
@ -66,7 +66,7 @@ void PlayerInput::unhandled_input(Ref<InputEvent> const &event) {
|
||||||
}
|
}
|
||||||
Ref<InputEventMouseMotion> mouse_motion{ event };
|
Ref<InputEventMouseMotion> mouse_motion{ event };
|
||||||
if (mouse_motion.is_valid()) {
|
if (mouse_motion.is_valid()) {
|
||||||
Vector2 state{ -mouse_motion->get_relative() * 0.001f };
|
Vector2 state{ -mouse_motion->get_relative() * 0.0005f };
|
||||||
emit_signal(sig_look_input, state);
|
emit_signal(sig_look_input, state);
|
||||||
}
|
}
|
||||||
if (event->is_action("primary_fire")) {
|
if (event->is_action("primary_fire")) {
|
||||||
|
|
Loading…
Reference in a new issue