def METHOD_NAME(self, task):
    dt = base.clock.dt
    movementVec = Vec3()
    if not self.wheel:
        return task.cont
    if self.currentMoveSpeed > 0:
        self.currentMoveSpeed -= dt * self.deaccleration
        if self.currentMoveSpeed < 0:
            self.currentMoveSpeed = 0
    # we will use the first found wheel
    # Acclerate
    accleratorPedal = self.wheel.findAxis(InputDevice.Axis.accelerator).value
    accleration = accleratorPedal * self.maxAccleration
    if self.currentMoveSpeed > accleratorPedal * self.maxSpeed:
        self.currentMoveSpeed -= dt * self.deaccleration
    self.currentMoveSpeed += dt * accleration
    # Break
    breakPedal = self.wheel.findAxis(InputDevice.Axis.brake).value
    deacleration = breakPedal * self.deaclerationBreak
    self.currentMoveSpeed -= dt * deacleration
    if self.currentMoveSpeed < 0:
        self.currentMoveSpeed = 0
    # Steering
    rotation = self.wheelCenter - self.wheel.findAxis(InputDevice.Axis.wheel).value
    base.camera.setH(base.camera, 100 * dt * rotation)
    # calculate movement
    base.camera.setY(base.camera, dt * self.currentMoveSpeed)
    return task.cont