diff --git a/app/src/main/java/icu/fur93/esp32_car/page/ControlSingleJoystickMode.kt b/app/src/main/java/icu/fur93/esp32_car/page/ControlSingleJoystickMode.kt index c42ffdc..89b5aca 100644 --- a/app/src/main/java/icu/fur93/esp32_car/page/ControlSingleJoystickMode.kt +++ b/app/src/main/java/icu/fur93/esp32_car/page/ControlSingleJoystickMode.kt @@ -85,7 +85,7 @@ fun ControlSingleJoystickModeControlPanel( modifier = Modifier.pointerInteropFilter { event -> when (event.action) { MotionEvent.ACTION_DOWN -> { - viewModel.sendXYR(0, 0, 50) + viewModel.sendXYR(0, 0, -50) true } MotionEvent.ACTION_UP -> { @@ -109,7 +109,7 @@ fun ControlSingleJoystickModeControlPanel( modifier = Modifier.pointerInteropFilter { event -> when (event.action) { MotionEvent.ACTION_DOWN -> { - viewModel.sendXYR(0, 0, -50) + viewModel.sendXYR(0, 0, 50) true } MotionEvent.ACTION_UP -> {