         if forceValue < 0.98 {
             targetForceValue = 0.0
             currentThresholdIndex = 0
-        }
-    }
-    
-    private func handleTouch(touch: UITouch)
-    {
-        if #available(iOS 9.0, *) {
-            self.cancelTouches()
-            let forcePercentage = touch.force/touch.maximumPossibleForce
-            targetForceValue = Double(forcePercentage)
         }
     }
     

    }
    
    func longPress() {
        targetForceValue = 0.99
    }
    
    func animateToTargetForce() {

    func updateForceToTarget() {
        let isIncrease = (forceValue < targetForceValue)
        if isIncrease {
            forceValue = min(forceValue + interpolationSpeed, targetForceValue)
            if forceValue >= targetForceValue {
                displayLink?.invalidate()
            }
        }
        else {
            forceValue = max(forceValue - interpolationSpeed*2, targetForceValue)
            if forceValue <= targetForceValue {
                forceValue = 0.0
                displayLink?.invalidate()
