diff --git a/source/RobotAPI/gui-plugins/PlatformUnitPlugin/PlatformUnitGuiPlugin.cpp b/source/RobotAPI/gui-plugins/PlatformUnitPlugin/PlatformUnitGuiPlugin.cpp
index 52dfee749b2e921115ee664265ea0f54acc81177..5ca47be1fbe5e20dde1d81358b18878e563f0525 100644
--- a/source/RobotAPI/gui-plugins/PlatformUnitPlugin/PlatformUnitGuiPlugin.cpp
+++ b/source/RobotAPI/gui-plugins/PlatformUnitPlugin/PlatformUnitGuiPlugin.cpp
@@ -230,7 +230,7 @@ void PlatformUnitWidget::controlPlatformWithKeyboard(int key)
     switch (key)
     {
         case Qt::Key_A:
-            position.rx() -= 1;
+            rotation.rx() = -1;
             break;
         case Qt::Key_W:
             position.ry() -= 1;
@@ -239,13 +239,13 @@ void PlatformUnitWidget::controlPlatformWithKeyboard(int key)
             position.ry() += 1;
             break;
         case Qt::Key_D:
-            position.rx() += 1;
+            rotation.rx() = 1;
             break;
         case Qt::Key_Q:
-            rotation.rx() = -1;
+            position.rx() -= 1;
             break;
         case Qt::Key_E:
-            rotation.rx() = 1;
+            position.rx() += 1;
             break;
         default:
             break;