Skip to content

Commit

Permalink
[GameState] Increased mouse sensitivity for macOS.
Browse files Browse the repository at this point in the history
  • Loading branch information
Unarelith committed Jul 2, 2020
1 parent 92fa009 commit fdeb6a1
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions source/client/states/GameState.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -92,8 +92,8 @@ void GameState::onEvent(const sf::Event &event) {
gk::Mouse::update(event);

const auto &delta = gk::Mouse::getDelta();
m_player.turnH(delta.x * -0.01 * Config::mouseSensitivity);
m_player.turnViewV(delta.y * -0.01 * Config::mouseSensitivity);
m_player.turnH(delta.x * -0.02 * Config::mouseSensitivity);
m_player.turnViewV(delta.y * -0.02 * Config::mouseSensitivity);
}
#else
if (event.type == sf::Event::MouseMovedRaw) {
Expand Down

0 comments on commit fdeb6a1

Please sign in to comment.